I think this is only an issue with an un-patched IE5.01, anything higher
than that should work fine.
.b
-Original Message-
From: Negrea Mihai [mailto:[EMAIL PROTECTED]]
Sent: 23 April 2002 12:26
To: [EMAIL PROTECTED]
Subject: [PHP] file download in IE
Hi!
How on earth do I make Internet Explorer to download a file
generated with:
header(Content-type: application/octet-stream);
header(Content-Disposition: attachment; filename=$fname);
include($this-dir . $fname);
exit;
It works on http but I need it on https and if I try to download
it through
https Internet explorer says it can't find the website.. after it
asks me if
I want to save the file.
I have checked the page and it works with: netscape under windows and
konqueror, galeon, netscape under linux.
I have seen reports on the web about this feature of Internet
explorer and
they all say to download some service pack.. I have updated my internet
explorer to the latest 6 version with all the updates on the web
but it still
does not work!
Anyone knows a workaround for this? I don't want to do it with header
(Location: somefile) because the file that I want to make available for
download is outside the webroot and i want it to be accessible
only through
my script.
Thanks a lot!
Eagerly waiting for a response,
Mihai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php