note 59412 added to function.apache-response-headers
| From: | (1statlastdotcom) | Date: | Tue, 06 Dec 2005 14:21:21 +0000 |
| Subject: | note 59412 added to function.apache-response-headers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-99629@lists.php.net to get a copy of this message | ||
Because this returns an associative array, if you call setcookie() multiple times, you will only get
the value of the last setcookie() in the [Set-Cookie] index.
I think this is a major flaw. The HTTP spec allows duplicate header calls. There is no documented
way to request a numerically indexed array.
----
Manual Page -- http://www.php.net/manual/en/function.apache-response-headers.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+59412
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59412&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59412&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59412&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59412&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59412&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59412&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59412&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+59412&report=yes
Search -- http://master.php.net/manage/user-notes.php