Hi
I'm using IE7 and Firefox 2 and a script that creates a csv file to download.
This works in both browsers:
header("Content-Disposition: attachment; filename=sms_template.csv");
but this only works in IE:
$file_name = "sms_template";
header("Content-Disposition: attachment; filename={$file_name}.csv");
or
header("Content-Disposition: attachment; filename=" . $file_name . ".csv");
either of the above will download the file but without the .csv extension in Firefox.
Any ideas?
Many thanks