sp Mon Jan 19 10:17:17 2004 EDT
Modified files: /phpdoc/en/reference/http/functions header.xml Log: Fixed Bug #26961... http://cvs.php.net/diff.php/phpdoc/en/reference/http/functions/header.xml?r1=1.22&r2=1.23&ty=u Index: phpdoc/en/reference/http/functions/header.xml diff -u phpdoc/en/reference/http/functions/header.xml:1.22 phpdoc/en/reference/http/functions/header.xml:1.23 --- phpdoc/en/reference/http/functions/header.xml:1.22 Fri Dec 26 08:01:27 2003 +++ phpdoc/en/reference/http/functions/header.xml Mon Jan 19 10:17:17 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> +<!-- $Revision: 1.23 $ --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.2 --> <refentry id="function.header"> <refnamediv> @@ -223,10 +223,10 @@ <![CDATA[ <?php // We'll be outputting a PDF -header("Content-type: application/pdf"); +header('Content-type: application/pdf'); // It will be called downloaded.pdf -header("Content-Disposition: attachment; filename=downloaded.pdf"); +header('Content-Disposition: attachment; filename="downloaded.pdf"'); // The PDF source is in original.pdf readfile('original.pdf');