header("Content-Type: octet/stream");
header("Content-Length: ".filesize("Dati_2013"));
header("Content-Disposition: attachment; filename=Dati_2013");
include("file.txt");
?>
$url= "/home/web/reserved/files/";
$id_file= "Dati_2013";
$total=$url.$id_file;
header("Pragma: no-cache");
header("Expires: 0");
Header("Content-Type: application/octet-stream");
Header("Content-Length: ".filesize($total));
Header("Content-Disposition: attachment; filename=$Dati_2013");
readfile($total);
?>