note 103200 modified in function.readfile by danbrown
| From: | danbrown@php.net | Date: | Thu, 31 Mar 2011 14:06:17 +0000 |
| Subject: | note 103200 modified in function.readfile by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178378@lists.php.net to get a copy of this message | ||
Hello,
Here's a simple trick for browsers (FF, IE) address spaces in filenames for
Content-Disposition:
eg: <?php header ("Content-Disposition:attachment; filename=\"$filename\"");
?>
The \ "before and after the file name makes the difference.
--was--
Hello,
Here's a simple trick for browsers (FF, IE) address spaces in filenames for
Content-Disposition:
eg: header ("Content-Disposition:attachment; filename=\"$filename\"");
The \ "before and after the file name makes the difference.
http://php.net/manual/en/function.readfile.php