note 64406 added to function.setcookie
| From: | nachoken1 at osu1 dot php dot net | Date: | Thu, 13 Apr 2006 16:52:18 +0000 |
| Subject: | note 64406 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-108000@lists.php.net to get a copy of this message | ||
I can't seem to get my cookie and redirect to work. I have tried both the PHP location: url
and the html but neither will pass the cookie. Others have noted the problem, and have suggested
the refresh, URL= but that doesn't work either. When I find a solution I will post: Here is
my code:
<?PHP
setcookie ("region","1");
?>
<meta http-equiv="Refresh" content="0; URL=../addbase2.php">
----
Server IP: 202.157.183.147
Probable Submitter: 218.111.223.214
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/note/edit/64406
Del: integrated -- http://master.php.net/note/delete/64406/integrated
Del: useless -- http://master.php.net/note/delete/64406/useless
Del: bad code -- http://master.php.net/note/delete/64406/bad+code
Del: spam -- http://master.php.net/note/delete/64406/spam
Del: non-english -- http://master.php.net/note/delete/64406/non-english
Del: in docs -- http://master.php.net/note/delete/64406/in+docs
Del: other reasons-- http://master.php.net/note/delete/64406
Reject -- http://master.php.net/note/reject/64406
Search -- http://master.php.net/manage/user-notes.php