Posted by aljosa.mohorovic@gmail.com on 04/03/06 11:28
"IE also ignores the suggested filename in the Content-disposition
header" and also Safari will not properly display non latin1 charsets.
my solution for download link:
URL: http://www.example.com/download.php/$file_id/$file_name
1. download.php can be replaced using mod_rewrite into something more
readable
2. $file_id can be location of file or anything else
3. $file_name is used only to indicate filename to browser and can be
string with any character and IE,Firefox and Safari will display
properly filename for download
and about IE strange problem? would like to know how to fix it but
because i have no time I've gone with "inline" instead "attachment" for
Content-Disposition.
Navigation:
[Reply to this message]
|