Hi,
Jay Blanchard wrote:
> [snip]
> How can i make the word "Welcome" appear only after the login ?
> [/snip]
>
> If you set a cookie upon login you can then check for the existence of the
> cookie. If the cookie exists do not display 'Welcome'.
I have:
session_start();
session_register("email");
in the beginning of the file.
I've tried:
if (isset($_SESSION['email']))
print('Welcome ' . $name);
but obviously it prints the "Welcome" word as the same.
Any ideas ?
Thanks in advance.
Warm Regards
--
:wq! Mário Gamito
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php