svn: /phpdoc/en/trunk/reference/filesystem/functions/ readfile.xml

From: Date: Sat, 15 Aug 2015 00:11:32 +0000
Subject: svn: /phpdoc/en/trunk/reference/filesystem/functions/ readfile.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13582@lists.php.net to get a copy of this message
cmb Sat, 15 Aug 2015 00:11:32 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=337464 Log: improve example (contributed by anon user) Changed paths: U phpdoc/en/trunk/reference/filesystem/functions/readfile.xml Modified: phpdoc/en/trunk/reference/filesystem/functions/readfile.xml =================================================================== --- phpdoc/en/trunk/reference/filesystem/functions/readfile.xml 2015-08-14 23:54:15 UTC (rev 337463) +++ phpdoc/en/trunk/reference/filesystem/functions/readfile.xml 2015-08-15 00:11:32 UTC (rev 337464) @@ -75,7 +75,7 @@ if (file_exists($file)) { header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); - header('Content-Disposition: attachment; filename='.basename($file)); + header('Content-Disposition: attachment; filename="'.basename($file).'"'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public');

« previous php.doc.cvs (#13582) next »