header('Content-Transfer-Encoding: binary'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Content-Type: '.$content_type); header('Content-Length: '.$content_length); header('Content-Description: File Transfer'); header('Content-Disposition: attachment; filename="'.$filename.'"'); header('Pragma: public'); header('Expires: 0'); ob_clean(); flush(); @readfile($link) or die("File not found."); exit; PHP: The file is like 600mb big, I run the file and the silly thing gets to 8mb then stops. and yes i DO have: set_time_limit(0); // fix limit error_reporting(0); // fix stuff PHP: In the header, so I don't know why it still timesout
probably a problem with your php.ini - change post_max_size = 8M to post_max_size = 700M should fix your problem