note 6690 deleted from function.setcookie by sniper

From: Date: Wed, 11 Dec 2002 07:14:27 +0000
Subject: note 6690 deleted from function.setcookie by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40716@lists.php.net to get a copy of this message
To clear this thing with not being able to create cookies with both IE and NS. When I test my code with IE 5.0 and Win2k pro with PHP4pl2 I use: SetCookie("Var", "value", time()+86400, "/", "", 0); And when I upload the script to my host I use: SetCookie("Var", "value", time()+86400, "/", "CorrectDomain", 0); That seems to work with the browsers I have tested.

« previous php.notes (#40716) next »