Force download, IE5.5 style...
| From: | Sander Pilon | Date: | Wed, 12 Jul 2000 17:24:29 +0000 |
| Subject: | Force download, IE5.5 style... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6194@lists.php.net to get a copy of this message | ||
Okay,
So.. I want to force the user to download something when he clicks a link.
(As opposed to showing the text in the browser window).
That worked with these headers:
header( "Content-type: application/octet-stream" );
header( "Content-Disposition: attachment; filename=$skeleton_name.skl" );
header( "Content-Length: $filesize" );
echo $file_contents;
But not with the today released IE5.5.... *sigh*
Anyone know how I can do that for IE5.5 ?
Regards,
Sander