ID: 26961
Updated by: [EMAIL PROTECTED]
Reported By: php_bugs at ecora dot de
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: irrelevant
PHP Version: Irrelevant
New Comment:
I looked in the RFCs and well, you are right!
Fixed this in the XML-source of the manual. May take some time to show
up in the manual.
Thanks for reporting!
Previous Comments:
------------------------------------------------------------------------
[2004-01-19 08:03:25] php_bugs at ecora dot de
I forgot the most important information:
The wrong header is in the documentation of the header function.
------------------------------------------------------------------------
[2004-01-19 04:44:09] php_bugs at ecora dot de
Description:
------------
The Content-Disposition-Header in the 9. (grey) example box is wrong:
// It will be called downloaded.pdf
header("Content-Disposition: attachment; filename=downloaded.pdf");
// should be:
header('Content-Disposition: attachment; filename="downloaded.pdf"');
RFC 2616 (HTTP/1.1), Chapter 19.5.1:
content-disposition = "Content-Disposition" ":"
disposition-type
[..]
filename-parm = "filename" "=" quoted-string
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26961&edit=1