File "correos.php"

Full path: /home/wwwitravel/public_html/sistema/vistas/correos.php
File size: 0.5 KB (510 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor   Back

<?php
ob_start();
		header("Content-Description: File Transfer"); 
	    header("Content-Type: application/force-download"); 
        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=\"correos.txt\";" );
        header("Content-Transfer-Encoding: binary");
		readfile('correos.txt');
ob_end_flush();	
?>