"Dre" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I added print_r($_SESSION); after the session start();
> and the printed text was
>
> Array( )
Which means that your session value is NOT set. Your if/else should look
like this:
if (!isset($_SESSION['uname'])) {
header('Loc
I added print_r($_SESSION); after the session start();
and the printed text was
Array( )
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the code I use is
//=
... other html code
//=
there are no extra spaces between the equal signs, and it does not give any
errors, it just acts like if I'm not logged in
is there any settings in the php.ini that m
3 matches
Mail list logo