I'm having another problem with my member's area script. When someone
logs in, it's supposed to register their username into a session and it
displays fine on the first page. But once you navigate to another part
of the area, it does not tell you you are logged in, instead it gives me
the error I set it to give "You are not logged in." Here's the code
that checks to see if the user is valid:
echo "<font size='2'>Welcome $valid_user!</font>";
echo "You are not logged in.";
Here's the code that's supposed to save the session:
if($user && $pass)
$valid_user = $user;
echo "<font face='Arial, Helvetica, sans-serif'
size='3'><center><b>You supplied an invalid username and password combo.
Try again please.</b></center>";
Please help again!!!
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php