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