note 25199 added to function.header
| From: | php-general at lists dot php dot net | Date: | Fri, 13 Sep 2002 20:10:57 +0000 |
| Subject: | note 25199 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-36647@lists.php.net to get a copy of this message | ||
The docs above show that the filename argument to Content-Disposition can be used without placing
double quotes around the filename. The HTTP 1.1 spec specifically states that filename= must be
followed by a quoted-string and is demonstrated by the example in the HTTP spec. The PHP docs should
be changed to reflect this.
HTTP Spec example is at:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1
This may be the cause of peoples problems using this feature.
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+25199
http://master.php.net/manage/user-notes.php?action=delete+25199
http://master.php.net/manage/user-notes.php?action=reject+25199