Posted by Daedalus.OS on 05/27/05 15:12
> Hmmm. How about redirecting the user to a sign up page?
Well this would mean that visitors will not be able to enter this page
without registering, as they'll be redirected to your sign up page unless
they are already registered. If it is what you want then the header()
function is what you are looking for:
header("Location: http://www.url.com/page.php");
See the man page for more details http://ca3.php.net/header
Anyway if you rely only on cookies to see if a user is already registered, I
would suggest you to redirect you user to a login/sign up page, so if a user
delete his cookies he will still be able to get in.
Dae
Navigation:
[Reply to this message]
|