It seems to be bug in IE/Netscape/Other www browser on Mac, that's all.
Header wasn't correct interpreted. I had similar problem with NETSCAPE 6
on Windows. I hope they will correct it shortly.
Krzysztof
Petr Rezek wrote:
> Here is my question.
> I wrote a script, which gets parameters from db about document (location on
> disc, hashed filename and original filename). Then script open this file a
> send it to user.
>
> I use this headers
>
> Header("Content-Type: application/download\n");
> Header("Content-Disposition: attachment;filename=\"name_of_file\"");
> Header("Content-Transfer-Encoding: binary");
>
> On Windows it works good, but on Mac it doesn't accept name_of_file and try
> save this file with name of script.
> What is wrong ? Do you have any idea ??
>
> If I used:
> Header("Content-Disposition: filename=\"jmeno_souboru\"");
> then this script doesn't work also on Windows with Mozilla. Is there any
> error in MSIE on Mac, isn't it ?
>
> Thank you for any idea
> Petr
>
>
>
>
>
>
----------------------------------------------------------------------
Bojkot dokumentow w formacie Worda?
http://komputery.interia.pl/id/arch/www/wys&inf_id=218065
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]