- Code: Select all
setcookie("name","test", (time() + (60*2)), "/", ".codinggroundz.com", 0);
Now, that part works fine, because I can see the cookie with firefox. I can see its unencrypted contents.
But... When I try to
- Code: Select all
echo "Welcome back, ".$_COOKIES["name"];
it returns nothing O_o I think it may have something to do with the url not matching the server name... so it wont allow to retrieve that cookie. but i checked that. looks normal to me. iono
[edit] my entire project has come to a grinding halt because of this,.. Someone please help me! [/edit]