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
--
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]