RE: [PHP] content type header for downloading files
| From: | John W. Holmes | Date: | Thu, 30 Jan 2003 01:06:47 +0000 |
| Subject: | RE: [PHP] content type header for downloading files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133574@lists.php.net to get a copy of this message | ||
> $fname is the name of the file i want to download. It works in IE, as
in
> the name of the file to be downloaded appears correctly in the dialog
box.
> I changed 'application/octet' to 'application/octet-stream' and this
had
> no effect.
Maybe find a site that works correctly on the browser in question and
examine the headers it sends?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/