Codice PHP:
if ($Codici==true) {

$nomefile $row["NomeFile"];
$path "/dowload/$nomefile";
$mime "application/zip";

header("Content-type: $mime"); 
header("Content-Disposition: attachment; filename=$nomefile"); 
header("Content-Lenght: ". @filesize($path));
readfile($path);

echo 
"<center>[b]Download eseguito correttamente![/b]</center>";

} else {


echo 
"<center>[b]Codici errati!


<a href=\"javascript:history.back()\">Indietro</a>[/b][/b]</center>"
;


Stessi problemi