Hi,
I'm using php to generate a csv file and want to force the user to
download it to their local PC.
Trouble is, when I use:
header("Content-Disposition: attachment; filename=\"down load.csv\"");
the browser wants to save the file as download.csv.ph p
Any suggestions as to how I can get rid of the .php? I'd rather not tell
apache that it should pass csv files through php.
Thanks,
Russell.
I'm using php to generate a csv file and want to force the user to
download it to their local PC.
Trouble is, when I use:
header("Content-Disposition: attachment; filename=\"down load.csv\"");
the browser wants to save the file as download.csv.ph p
Any suggestions as to how I can get rid of the .php? I'd rather not tell
apache that it should pass csv files through php.
Thanks,
Russell.
Comment