note 78975 added to function.setcookie
| From: | manfred dot p dot wilke at gmail dot com | Date: | Mon, 05 Nov 2007 17:08:13 +0000 |
| Subject: | note 78975 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132017@lists.php.net to get a copy of this message | ||
mrvanes at gmail dot com:
The note did you wrote about the use of underscore (_) on 06-Jun-2006 11:22 basicaly saved my life.
I was encountering some troubles with Windows_Xp and IE 6 and 7, because IE does not recognize a
value like "aaabbb_cccddd" (i think).
After change the value, deleting the underscore, the cookie works fine.
This is the complete line that worked:
setcookie("value", date("Y-m-d"), time()+3600, "/", false, 0);
Tks very much.
(PS.: Sorry for my bad english.)
----
Server IP: 200.185.109.13
Probable Submitter: 200.146.46.209
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/78975
Del: integrated -- https://master.php.net/note/delete/78975/integrated
Del: useless -- https://master.php.net/note/delete/78975/useless
Del: bad code -- https://master.php.net/note/delete/78975/bad+code
Del: spam -- https://master.php.net/note/delete/78975/spam
Del: non-english -- https://master.php.net/note/delete/78975/non-english
Del: in docs -- https://master.php.net/note/delete/78975/in+docs
Del: other reasons-- https://master.php.net/note/delete/78975
Reject -- https://master.php.net/note/reject/78975
Search -- https://master.php.net/manage/user-notes.php