$fp = "http://".$site."/stor10392/".$filename;
$complete = file_get_contents($fp);
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Content-type: ".$mimetype);
header("Pragma: public");
header("Content-Disposition: attachment; filename=\"".$filename."\"");
echo $complete;
this is code from my download script
this making save box from browser taking too long to appear .. (30-40sec on 50mb file)
anyone know how to make it fast?
ps: if you need full code please let me know.