Has anyone else had a problem with cookies not being set without a high enough expiration time? Because when I try:
setcookie("$config->cookiename[user]","Guest");
It doesn't set and when I try:
setcookie("$config->cookiename[user]","Guest",time());
It doesn't set either, but when I do:
setcookie("$config->cookiename[user]","Guest",time()+60*60);
It sets it fine. Is there a reason for that, as I have tried examples from online and theirs seem to work but then when I try them on my own server, the cookies aren't set. I am using the latest of PHP4. Can anyone help? Thanks.
-Danny