Jacob Stetser
01-20-1999, 02:49 PM
Hi http://www.aota.net/ubb/smile.gif
I need to write a little PHP scriptlet on my index page that will let me test for the existence of a certain cookie and-
if it exists: redirect the user to another page.
if it doesn't: set the cookie for the user.
How do I go about doing this?
I know how to set the cookie, but I'm not very familiar with PHP.. learning.. and I don't know how to check for the value.. hmm
nor do I know how to redirect...
and I don't know how to structure it http://www.aota.net/ubb/smile.gif
Help! http://www.aota.net/ubb/smile.gif
I need to write a little PHP scriptlet on my index page that will let me test for the existence of a certain cookie and-
if it exists: redirect the user to another page.
if it doesn't: set the cookie for the user.
How do I go about doing this?
I know how to set the cookie, but I'm not very familiar with PHP.. learning.. and I don't know how to check for the value.. hmm
nor do I know how to redirect...
and I don't know how to structure it http://www.aota.net/ubb/smile.gif
Help! http://www.aota.net/ubb/smile.gif