Need to download files in IE
| From: | James R. Edgar | Date: | Mon, 12 Mar 2001 19:57:55 +0000 |
| Subject: | Need to download files in IE | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-43533@lists.php.net to get a copy of this message | ||
I am trying to set my script up so that when a person clicks on the link, that
the page will prompt for a download w/ the filename in the File Name field in
the Save As prompt.
I can get this to work in Netscapse but when I try to do it with Internet
Explorer I encounter problems. It either says there is no application to read
the file (I have acrobat reader on the computer.) or it displays the prompt with
either [variable's name passed to script].htm or download.php. And the file I am
trying to download is a PDF file. If anyone can help me with this I would
greatly appreciate this, and thanks in advance.
Regards,
Edgar