I got a new question in may new script
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/octet-stream'); $rr="filename.exe"; header('Content-Length: file source'); header('Content-Disposition: attachment; filename='. $rr); readfile("file source");
This script worked correctly until I didn't upload a file which size was 700 Mb and I can't download it by this script!
In browser it's writing
Firefox can't find the file at http://up-club.com/dow.php?id=LUVzGT. * Check the file name for capitalization or other typing errors. * Check to see if the file was moved, renamed or deleted.
I think the problem is in file size-how can I solve it??
This post has been edited by levonnikox: 20 August 2010 - 10:56 PM