note 70157 added to function.setcookie
| From: | cyoulhateratgmaildotcom at osu1 dot php dot net | Date: | Wed, 04 Oct 2006 23:56:20 +0000 |
| Subject: | note 70157 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118070@lists.php.net to get a copy of this message | ||
Setting a cookie before sending a 301 redirection doesn't work in Opera 9.01
set_cookie('cookie',"enabled",time()+60);
header("Status: 301 Moved Permanently", false, 301);
header("Location: http://" . $_SERVER["SERVER_NAME"]
. "/enter.php");
exit();
Also tried with the "abdullah" and "Lemonrock", doesn't work too.
----
Server IP: 217.174.203.10
Probable Submitter: 217.136.237.126
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/70157
Del: integrated -- https://master.php.net/note/delete/70157/integrated
Del: useless -- https://master.php.net/note/delete/70157/useless
Del: bad code -- https://master.php.net/note/delete/70157/bad+code
Del: spam -- https://master.php.net/note/delete/70157/spam
Del: non-english -- https://master.php.net/note/delete/70157/non-english
Del: in docs -- https://master.php.net/note/delete/70157/in+docs
Del: other reasons-- https://master.php.net/note/delete/70157
Reject -- https://master.php.net/note/reject/70157
Search -- https://master.php.net/manage/user-notes.php