I'm using php to export a csv to mobile safari. I'm getting this error when I try to download the csv.
Does anyone have any ideas?
ini_set('memory_limit', '2048M');
header("Cache-Control: must-revalidate");
header("Pragma: must-revalidate");
header("Content-type: application/vnd.ms-excel");
header("Content-disposition: attachment; filename=Activity.csv");
header("Expires: 0");