Php download script



I’m using for a while this php script to download files. Since few days, the download just stops at about 90 meg. The file is about 950MB. Any idea what I’m missing ?

header(“Pragma: public”);
header(“Expires: 0”);
header(“Cache-Control: must-revalidate, post-check=0, pre-check=0”);
header(“Cache-Control: public”);
header(“Content-Description: File Transfer”);
header(“Content-Type: application/force-download”);
header(“Content-Disposition: attachment; filename=”$file_name"");
header(“Content-Transfer-Encoding: binary”);
header("Content-Length: " . filesize($file_path));





See: (That thread was about download scripts under Django, but the same principle applies to PHP.)