Re: Header problem
| From: | Krzysztof Kocjan | Date: | Mon, 14 Jan 2002 17:06:43 +0000 |
| Subject: | Re: Header problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80477@lists.php.net to get a copy of this message | ||
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