header(‘Content-Description: File Transfer’);
header(‘Content-Type: text/html’);
header(‘Content-Disposition: attachment; filename=Emails.txt’);
header(‘Expires: 0′);
header(‘Cache-Control: must-revalidate, post-check=0, pre-check=0′);
header(‘Pragma: public’);
ob_clean();
flush();
$str =”first\t\n
echo $str;
Advertisement
