Untitled

mail@pastecode.io avatar
unknown
php
3 years ago
359 B
2
Indexable
Never
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: private",false);
header("Content-Disposition: attachment; filename=\"$filename.csv\";" );
header("Content-Transfer-Encoding: binary");
header('Content-Encoding: UTF-8');
header('Content-type: text/csv; charset=UTF-8');