hi,
I am trying to write a code to force download a csv file. It works fine on Firefox but in IE (ver 6.0) it fails. In IE, it shows a random filname without extension in the download dialogue.
the headers used are,
header("Content-type: text/csv");
header("Content-Disposition: attachment; filename=$file.csv");
also tried by adding these,
header("Content-Transfer-Encoding: binary");
header("Content-Type: application/force-download");
header("Pragma: no-cache");
header("Pragma: public");
header("Expires: 0");
thanks in advance..