View Single Post
  #1  
Old 08-09-2006, 01:19 PM
white white is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
white is on a distinguished road
Default displaying wrong username

Hello

My code is displaying S as the username and not the actual username? Here is my code that I am working with:

if (isset($_COOKIE['username']) && ($_COOKIE['password'])) {
print "Logged in as: ".$_COOKIE['username']. "<br />";
print "<a href=logout.php>log out?</a>";
}

Can you point out the reason -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - displaying wrong username
View Single Post
  #1  
Old 08-09-2006, 01:19 PM
white white is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
white is on a distinguished road
Default displaying wrong username

Hello

My code is displaying S as the username and not the actual username? Here is my code that I am working with:

if (isset($_COOKIE['username']) && ($_COOKIE['password'])) {
print "Logged in as: ".$_COOKIE['username']. "<br />";
print "<a href=logout.php>log out?</a>";
}

Can you point out the reason -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote