This is not a MAC IE problem, it is the way browsers work.  If the MIME type
is mapped to an application, the browser will launch the application.  IE
does it inline, while Netscape tends to launch it separately.

You can send false headers with a made up type and a missing file extension,
but then the browser will not know what type of file it is and the save as
is harder for the user as they have to put the right extension on.  It is a
work around, but a really poor one.

header("Content-disposition: filename=$filenamewithoutextension");
header("Content-type:reallyreallyreallybigcsv");




-----Original Message-----
From: Step Schwarz [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 25, 2003 11:49 AM
To: Daniel Leighton; [EMAIL PROTECTED]
Subject: Re: [PHP] Mac IE File download problem - any solutions?


[...]
> The problem:  When downloading certain files on a Mac using IE 5.x, files
are
> displayed within a browser window instead of downloading.  This seems to
occur
> mostly with quicktime files (.mov, .mp3).  Some quicktime files work,
while
> others with the same extension do not.
[...]

Hi Daniel,

I believe this is a browser setting, is it not?  Using the default setup of
Explorer 5.2 for Mac, a clicked .mov file will play in IE.

To change this behavior, go to Explorer > Preferences... > File Helpers,
select QuickTime Movie and click Change... then switch Handling from "View
with Browser" to "Save to File".

I would be surprised if a file header could override this.. but if you find
a way, please let us know!

-Step



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to