setcookie("cookie",$var,time()
+600,"/","www.subdomain.domain.com.br",1);
- In the third page I want to retrieve the cookie with:
echo "$cookie"; //Doesn´t work.
echo $HTTP_COOKIE_VARS["cookie"]; //Doesn´t work too!
echo "$var"; //Doesn´t work!!!!
The files are in the same folder. I can´t locate the problem!
Thanks for any tip.