note 24798 deleted from function.header by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 21:32:06 +0000 |
| Subject: | note 24798 deleted from function.header by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55612@lists.php.net to get a copy of this message | ||
Note Submitter: fschaper@zerodegree.de
----
If you want to send files via SSL and want to predefine the filename using something like this:
header("Content-type: application/octet-stream");
header("Content-Disposition: attachment; filename=test.bin");
you _cannot_ use
header("Pragma: no-cache");
or the filename will not be submitted like intended but the scriptname will be used ..