Header problem

From: Date: Mon, 14 Jan 2002 15:35:05 +0000
Subject: Header problem
Groups: php.general 
Request: Send a blank email to php-general+get-80475@lists.php.net to get a copy of this message
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

« previous php.general (#80475) next »