Re: HTTP_download : open file in browser, not download
| From: | Michael Wallner | Date: | Tue, 01 Jun 2004 09:42:48 +0000 |
| Subject: | Re: HTTP_download : open file in browser, not download | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12808@lists.php.net to get a copy of this message | ||
Hi Vincent Dupont, you wrote:
> Hi,
>
> I cannot send the files directly to the browser without having a popup requesting the user to
> selected either to open or to download the file;
> I run PHP 4.3.4 on a IIS web server (Windows)
> The browser is IE 6.
What type of file are you sending?
Did you set the correct mime type?
Did you try the comonly used IE hack to
simulate a file extension like:
download.php/file.ext
download.php?file=.ext
Regards,
--
Michael - < mike(@)php.net >
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc