Re: saving images which have been assigned a strange name
| From: | Phil Driscoll | Date: | Mon, 09 Apr 2001 10:27:06 +0000 |
| Subject: | Re: saving images which have been assigned a strange name | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6574@lists.php.net to get a copy of this message | ||
>It has happened with me too. IE takes the download filename from the URL
one
>clicks to download it.
Not if you send out the correct headers:
header("Content-Type: $mimetype";
header("Content-Length: $filelength");
header("Content-Disposition: attachment; filename=$filename");
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org