Joshua44
05-04-2003, 11:58 AM
I've been using the following code for setting cookies:
setcookie("name", "value", time()+666, "/", $_SERVER['SERVER_NAME'], 0);
This works on my site but not on my computer.
I recently changed it to
setcookie("name", "value", time()+666, "/", "", 0);
and it works. I've tested it on Xitami and Apache 1.3.77.
Any comments?
setcookie("name", "value", time()+666, "/", $_SERVER['SERVER_NAME'], 0);
This works on my site but not on my computer.
I recently changed it to
setcookie("name", "value", time()+666, "/", "", 0);
and it works. I've tested it on Xitami and Apache 1.3.77.
Any comments?
