Re: [PHP3] Mime Types and Netscape Server
| From: | (Richard Lynch) | Date: | Fri, 09 Jun 2000 22:19:06 +0000 |
| Subject: | Re: [PHP3] Mime Types and Netscape Server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1473@lists.php.net to get a copy of this message | ||
In article
<C3A10D4593E6D31198500008C7E987F10137C067@ntx.netvision.net.il>,
berber@netvision.net.il (Boaz Yahav) wrote:
> Hi
>
> I'm trying to make the server open a "save as" window when pressing on a
> picture.
> If i define the Mime Type for the images directory to be unknown or Octet
> Stream
> It works great for NN but IE falls to the File System's default and shows
> the pic.
>
> Does anyone have an idea what mime type can solve this for IE too?
>
> It can be solved with PHP and appropriate headers but I'm trying to avoid
> a redirection to a PHP script and instead make the Netscape Server cause
> the browser to open a "save as" window.
Try making the file name be something funky so IE won't think it's smart
enough to out-smart you.
You may also be able to do the things you would do with header() through
various httpd.conf (or .htaccess) directives...
--
Richard Lynch | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA | http://www.L-I-E.com/artists.htm
http://www.zend.com | (this has nothing to do with Zend,
duh!)