note 45342 added to function.setcookie
| From: | rgm at osu1 dot php dot net | Date: | Thu, 02 Sep 2004 19:35:55 +0000 |
| Subject: | note 45342 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-75948@lists.php.net to get a copy of this message | ||
Everyone should note that according to the HTTP/1.1 spec, the Location: header needs an ABSOLUTE
URI. You *can not* simply say:
Location: foo.php
You need to specify the full URI, protocol, host, port (if not 80), and all. For the info in the
spec, check out:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+45342
Delete -- http://master.php.net/manage/user-notes.php?action=delete+45342&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+45342&report=yes
Search -- http://master.php.net/manage/user-notes.php