note 13689 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 22:05:21 +0000 |
| Subject: | note 13689 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19792@lists.php.net to get a copy of this message | ||
the code below works fine for netscape versions but with IE it just sits there once the dialog
window pops up (the open button is not avaliable):
header("Content-Type: application/force-download\n");
header("Content Disposition: filename=\"$file\"");
header("Content-Transfer-Encoding: binary");
header("Content-Length: " . $size);
set_time_limit(0);
$fd = fopen("$archives/$file", "rb");
fpassthru($fd);
fclose($fd);
ive tried a lot of different ways of doing this but IE just gives me problems. any ideas? thanks