I'm wanting to have people register at my site. I set a cookie with the name "cookie". yet this code prints nothing.
if(isset($cookie)) { echo("$cookie"); }
I'm running php 4.2.1
yet when I ran 4.2.0 it worked.
Any Ideas
Do you have register_globals on? If not, then you have to use $_COOKIES['cookie'] instead of $cookie.
Diego
Yes, I have register_globals on, However, I still can't get to my cookie from within a function. Any other ideas?
Nevermind. user stupidity. it's getting late.