Bitcoin Forum
June 20, 2024, 09:40:25 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 [68] 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 »
1341  Other / Archival / Re: [Bounty] Fix this php code for me .5 btc on: September 07, 2012, 01:31:46 AM
when you first login it  shows it for about 1 second then goes it goes away.

I think whoever fixed the code, has earned their bounty -- 99% sure this has nothing to do with the code you originally posted.

I was getting the same results as, I am with there code so...
no the users info shows up for a second then it goes away. Here is the whole page code
Code:
<?php
/*
**********
Member Page
**********
*/
/* Include Code */
include("assets/member.inc.php");
/* Is an Action set? */
if(isset($_GET['action'])) {
$action $_GET['action'];
} else {
$action null;
}
if(isset(
$_GET['subaction'])) {
$subaction $_GET['subaction'];
} else {
$subaction null;
}
if(
$action == 'logout') {
echo $member->logout();
$title 'Logging user out';
$content '<div class="notice info">You are being logged out...</div>';
} elseif(
$action == 'settings') {
$member->LoggedIn();
$user $member->data();
if($subaction == 'password') {
$title   'Change Password';
$content $member->changePassword($user->id);
} elseif($subaction == 'email') {
$title   'Change E-Mail';
$content $member->changeEmail($user->id);
} elseif($subaction == 'delete') {
$title   'Delete Account';
$content $member->deleteAccount($user->id);
} else {
$title   'Settings';
$content '<a href="member.php?action=settings&amp;subaction=password" class="button full">Change Password</a><a href="member.php?action=settings&amp;subaction=email" class="button full">Change E-Mail</a><a href="member.php?action=settings&amp;subaction=delete" class="button full">Delete Account</a>';
}
} elseif(
$action == 'register') {
$title   'Create an account';
$content $member->register() . '<p class="options group"><a href="member.php?action=login">Already have an account?</a> &bull; <a href="member.php?action=recover-password">Recover Password</a></p>';
} elseif(
$action == 'recover-password') {
$title   'Recover your password';
$content $member->recoverPassword() . '<p class="options group"><a href="member.php?action=login">Already have an account?</a></p>';
} elseif(
$action == 'verification') {
$title   'Your account has been verified';
$content $member->verification() . '<p class="options group"><a href="member.php?action=login">Already have an account?</a></p>';
} else {
$title   'Login';
$content =  $member->login() . '<p class="options group"><a href="member.php?action=register">Register</a> &bull; <a href="member.php?action=recover-password">Recover Password</a></p>';
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $title?></title>
<!--CSS Files-->
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
<head>
<title><?php echo $title?></title>
<!--CSS Files-->
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
</head>
<body>
<div id="members" class="group">
<h1><?php echo $title?></h1>
<?php echo $content?>
<html>
<body>
<?php
$con
=mysql_connect('localhost''xxx''xxxxx');
if (!
$con) { die('Could not connect: '.mysql_error()); }
mysql_select_db("xxxxxx"$con);
$username=$_POST['username'];
$username=mysql_real_escape_string($username);
$result=mysql_query("SELECT * FROM users WHERE username='$username'");
$row=mysql_fetch_array($result);
echo 
"Email: ".$row['email']."<br/>";
echo 
"Username: ".$row['username'];
mysql_close ($con);
?>

Login Successful
<p><a href="index.php\">Click here to logout!</a></p>
</body>
</html>

well first of all, this code has two heads

remove one of them:

<head>
   <title><?php echo $title; ?></title>
   <!--CSS Files-->
   <link rel="stylesheet" type="text/css" href="assets/css/style.css" />


then change

<?php echo $content; ?>
   <html>
<body>
<?php

to

<?php echo $content; ?>
<?php

Still nothing lol been working on this for close to 3 hours now...... brain fried
fixed all that payb.tc said with no avail lol, came from all the cuting and pasting trying to fix this dang thing
1342  Other / Archival / Re: [Bounty] Fix this php code for me .5 btc on: September 07, 2012, 01:21:19 AM
no the users info shows up for a second then it goes away. Here is the whole page code
Code:
<?php
/*
**********
Member Page
**********
*/
/* Include Code */
include("assets/member.inc.php");
/* Is an Action set? */
if(isset($_GET['action'])) {
$action $_GET['action'];
} else {
$action null;
}
if(isset(
$_GET['subaction'])) {
$subaction $_GET['subaction'];
} else {
$subaction null;
}
if(
$action == 'logout') {
echo $member->logout();
$title 'Logging user out';
$content '<div class="notice info">You are being logged out...</div>';
} elseif(
$action == 'settings') {
$member->LoggedIn();
$user $member->data();
if($subaction == 'password') {
$title   'Change Password';
$content $member->changePassword($user->id);
} elseif($subaction == 'email') {
$title   'Change E-Mail';
$content $member->changeEmail($user->id);
} elseif($subaction == 'delete') {
$title   'Delete Account';
$content $member->deleteAccount($user->id);
} else {
$title   'Settings';
$content '<a href="member.php?action=settings&amp;subaction=password" class="button full">Change Password</a><a href="member.php?action=settings&amp;subaction=email" class="button full">Change E-Mail</a><a href="member.php?action=settings&amp;subaction=delete" class="button full">Delete Account</a>';
}
} elseif(
$action == 'register') {
$title   'Create an account';
$content $member->register() . '<p class="options group"><a href="member.php?action=login">Already have an account?</a> &bull; <a href="member.php?action=recover-password">Recover Password</a></p>';
} elseif(
$action == 'recover-password') {
$title   'Recover your password';
$content $member->recoverPassword() . '<p class="options group"><a href="member.php?action=login">Already have an account?</a></p>';
} elseif(
$action == 'verification') {
$title   'Your account has been verified';
$content $member->verification() . '<p class="options group"><a href="member.php?action=login">Already have an account?</a></p>';
} else {
$title   'Login';
$content =  $member->login() . '<p class="options group"><a href="member.php?action=register">Register</a> &bull; <a href="member.php?action=recover-password">Recover Password</a></p>';
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $title?></title>
<!--CSS Files-->
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
<head>
<title><?php echo $title?></title>
<!--CSS Files-->
<link rel="stylesheet" type="text/css" href="assets/css/style.css" />
</head>
<body>
<div id="members" class="group">
<h1><?php echo $title?></h1>
<?php echo $content?>
<html>
<body>
<?php
$con
=mysql_connect('localhost''xxx''xxxxx');
if (!
$con) { die('Could not connect: '.mysql_error()); }
mysql_select_db("xxxxxx"$con);
$username=$_POST['username'];
$username=mysql_real_escape_string($username);
$result=mysql_query("SELECT * FROM users WHERE username='$username'");
$row=mysql_fetch_array($result);
echo 
"Email: ".$row['email']."<br/>";
echo 
"Username: ".$row['username'];
mysql_close ($con);
?>

Login Successful
<p><a href="index.php\">Click here to logout!</a></p>
</body>
</html>
1343  Other / Archival / Re: [Bounty] Fix this php code for me .5 btc on: September 07, 2012, 01:14:22 AM
when you first login it  shows it for about 1 second then goes it goes away.
1344  Other / Archival / Re: [Bounty] Fix this php code for me .5 btc on: September 07, 2012, 12:38:56 AM
the skiz22285 thing is just something for a troubleshooting guide I was reading but when I ran your code i got
Parse error: syntax error, unexpected T_VARIABLE  on line 78
1345  Other / Archival / Re: [Bounty] Fix this php code for me .5 btc on: September 06, 2012, 11:32:17 PM
The problem with that is it displays all the mysql data, its not user specific.
1346  Other / Archival / Re: [Bounty] Fix this php code for me .5 btc on: September 06, 2012, 10:04:38 PM
Try this:
Code:
$rows=mysql_num_rows($result);
for ($i=0; $i<$rows; $i++)
{
$row=mysql_fetch_array($result);
echo "<tr>";--------------------------------------------------------------------- Parse error
echo "<td>" .$row['email'] ."</td>";
echo "<td>" .$row['username'] ."</td>";
echo "</tr>";
}
If you don't need an incrementing counter, you could also do
Code:
while ($row=mysql_fetch_array($result))
{
echo "<tr>";
echo "<td>" .$row['email'] ."</td>";
echo "<td>" .$row['username'] ."</td>";
echo "</tr>";
}
instead of the for-loop

Get a parse error
1347  Other / Archival / [Bounty] Fix this php code for me .5 btc on: September 06, 2012, 09:53:07 PM
<?php
$con = mysql_connect("localhost","]","");
if (!$con)
{
die('Could not connect: ' .mysql_error());
}
mysql_select_db("", $con);
$username=$_POST['skiz22285'];
$result = mysql_query("SELECT * FROM `users` LIMIT 0, 30 ");
echo "<table border='1'>
<tr>

<th> Email </th>
<th> username </th>

</tr>";

{
echo "<tr>";

echo "<td>" .$row['email'] ."</td>";
echo "<td>" .$row['username'] ."</td>";

echo "</tr>";
}
echo "</table>";
mysql_close ($con);
?>
<html>
<body>
Login Successful
<p><a href="index.php\">Click here to logout!</a></p>
</body>
</html>


What I need it to do is display the users mysql information, right now its just posting the email and username with no database outputs.
1348  Economy / Securities / Re: [GLBSE][BITCOINMINV] 2nd dividend paid, still got some stock left! on: September 06, 2012, 03:43:01 PM
We are hashing at about 2.5 at this moment, why? Cause new egg blows balls.... and im still waiting on parts from them. I also have to buy some more risers we need about 4 more 16x = 16x risers. And possibly another psu then we will have all but a couple GPU's running.
1349  Economy / Securities / Re: [GLBSE][BITCOINMINV] 2nd dividend paid, still got some stock left! on: September 06, 2012, 03:40:08 PM
 If I have personal life events coming up that might cause a delay, I try to pay early so you guys do not have to wait.
1350  Economy / Goods / Re: [Probing] Military Surplus and Gear- NO WEAPONS! Don't Even Ask on: September 04, 2012, 03:08:55 PM
Got yea, No more questions asked. If I get some ill let you know.
1351  Economy / Goods / Re: [Probing] Military Surplus and Gear- NO WEAPONS! Don't Even Ask on: September 04, 2012, 02:35:22 PM
I don't have it in hand, I buy from a local property manger. There is a ton of military gear that floats around in my town, its the home to the 2nd Marine Division and the 2nd Marine Airwing. I have a friend who is a Property Manger and in total he is in handles about 750 rentals, that finds TONS AND TONS of gear I the houses people move out of, I mean he has about 400 square feet packed with this stuff. Hes lets me pick through it whenever I come over so I just go and dig in it and see what I can find. My past finds Kbars, Kevlars, Flack Jackets, Tons of cammies, tons of boots, couple packs they are really expensive and sell quick. MRE's we usually eat them when we go camping or give them away to kids. So ill see what hes got for them. But going rate on a box right now is about 65$ dollars I think.

What do you mean the boxes or the plastic wrap? MRE come on pallets in a boxes, inside of green or biege pouches, the the food is in a smaller box that is inside a pouch.

What part of that do you want? lol
1352  Economy / Goods / Re: [Probing] Military Surplus and Gear- NO WEAPONS! Don't Even Ask on: September 04, 2012, 01:56:55 PM
Yes on the P-Coat, but why do you live in a rainy area lol? Camo clothing easy
For pants this is the sizes
27" to 31"   26½"  to  29½"   Small-Short   
"   29½" to  32½"   Small-Regular   
"   32½"  to  35½"   Small-Long   
31" to 35"   26½"  to  29½"   Medium-Short   
"   29½"  to  32½"   Medium-Regular   
"   32½"  to  35½"   Medium-Long   
35" to 39"   26½"  to  29½"   Large-Short   
"   29½"  to  32½"   Large-Regular   
"   32½"  to  35½"   Large-Long   
39" to 43"   26½"  to  29½"   XL-Short   
"   29½"  to  32½"   XL-Regular   
"   32½"  to  35½"   XL-Long   

Blouse... yes thats what its called lol
33" to 37"   63" to 67"   Small-Short   
"   67" to 71"   Small-Regular   
"   71" to 75"   Small-Long   
37" to 41"   63" to 67"   Medium-Short   
"   67" to 71"   Medium-Regular   
"   71" to 75"   Medium-Long   
"   75" to 79"   Medium-XLong   
41" to 45"   63" to 67"   Large-Short   
"   67" to 71"   Large-Regular   
"   71" to 75"   Large-Long   
45" to 49"   63" to 67"   XL-Short   
"   67" to 71"   XL-Regular   
"   71" to 75"   XL-Long   

Make a offer on cammies......pants, blouse or complete set.
What kind of belt you looking for, Marines have about 5 different belts in there uniform line up.
What kind of backpack? http://en.wikipedia.org/wiki/Improved_Load_Bearing_Equipment This is the type Marines use. They have a smaller type pack attached to them they are called Assault Packs. They have a built in Camel Pak pouch tons of pockets, 1 interior radio pocket. Sucks if you got one in there lol.

I love them, Used them humped a MANY MANY 100s of miles with them. I am 5'7 carried 90+ pound load and would only feel it if the straps were not adjusted properly.

Here is a write up with more info on the packs http://www.kevinwebb22.com/marine-corps-gear/marine-hiking-pack.
1353  Bitcoin / Hardware / Re: ModMiner Quad High Efficiency FPGA Bitcoin Mining Devices 840Mh/s BTCFPGA.com on: September 04, 2012, 04:31:35 AM
I Hope you guys beat butterfly to the punch...... thats all I have to say thank you.
1354  Economy / Goods / Re: [Probing] Military Surplus and Gear- NO WEAPONS! Don't Even Ask on: September 04, 2012, 04:20:51 AM
Just items that will land me in the Federal or state pen lol. Kbars and things like that are super easy to get around here. I have seen some NVG's floating around let me see what the prices are on them right now. I seen one yesterday that was Kevlar mounted, any intrest in that?
1355  Economy / Services / Re: Gweedo's Escrow Service on: September 01, 2012, 10:38:37 PM
...

... and I will not be taking your business cause of your past ventures, which I think are morality wrong to some degree so thank you.

I beg your pardon? Are you trolling your own thread?

No I just don't want to take your business. My business my rules.

Feel free, I would not put even 1 satoshi in your escrow before seeing proper feedback. Being the web developer that you are, I saw you have invested some great time and effort making that google spreadsheet for your service.

And cut me some slack with your morals, because we're in the same boat dude, let's not ruin it. Good luck with your business.

You would get further yelling at a brick wall lol, Yea he told me he was "one of the best on the forum" that sure don't show any quality work. I mean if I was a pro programmer as he states I would be trying to show my work off... just saying
1356  Economy / Goods / Re: [Probing] Military Surplus and Gear- NO WEAPONS! Don't Even Ask on: September 01, 2012, 10:30:21 PM
I can find optix, what X you looking for? MRE do you want 1 or how many? The price fluxes depending on when deployments get back. When they get back there right around 55$ per box "12"and on the High side 75$. Some times they charge more for different boxes, they have meal plan boxes some are better then the others. God forbid you get the eggs MRE you will starve that day.

I can always get cammies, you can not buy Marine Cammies anywhere they have the pattern trademarked its called MarPat.
I can usually get my hands on them used and some times new.
1357  Economy / Lending / Re: looking for a quick 1btc loan on: August 31, 2012, 05:04:06 PM
Sure lol?
1358  Economy / Goods / Re: [Probing] Military Surplus and Gear- NO WEAPONS! Don't Even Ask on: August 31, 2012, 12:09:04 PM
Tell me what your looking for and Ill see if I can dig it up, got lots of Surplus stores around me. Marines are known for selling there shit for beer money lol
1359  Economy / Goods / [Probing] Military Surplus and Gear- NO WEAPONS! Don't Even Ask on: August 31, 2012, 12:44:55 AM
Would anyone be want any Marine Corps gear? Cammies, Packs, Anything military that is surplus?
The only things I will not  get for you are, Explosives, Guns, or Medals. Unless you show me a DD-214 with it on all 4 sheets as proof. I support the stolen act of valor law.

Hunting Season is coming up, and Marpat Woodland is one the best you can get.
1360  Economy / Goods / Re: [WTS] Real Estate for bitcoins on: August 31, 2012, 12:34:55 AM
Great idea, glad to see it. We need more options to do the things in life we want with bitcoins. Think you can get your agent to advertises he takes bitcoins? Or your anyone else that will play a role? This is a great chance to get some public awareness for bitcoins.
Pages: « 1 ... 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 [68] 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!