note 70157 deleted from function.setcookie by bobby
| From: | bobby@php.net | Date: | Thu, 05 Oct 2006 03:05:36 +0000 |
| Subject: | note 70157 deleted from function.setcookie by bobby | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118076@lists.php.net to get a copy of this message | ||
Note Submitter: cyoulhater at gmail dot com
----
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.