Answer by DOOManiac for while a user is downloading, why cant they load...
If your download script calls session_start() at any point, you will need to call session_write_close() before you stream your file to the user.This closes out the PHP session file and allows users to...
View ArticleAnswer by NoCoolName_Tom for while a user is downloading, why cant they load...
PHP is not the best solution for delivering large files as you'll occupy a process on the server for each user for the entire length of their download; if you are using Apache or nginx you should look...
View Articlewhile a user is downloading, why cant they load another page?
the relevant code for the download script:$fp = @fopen($file, 'rb');while(!feof($fp) && ($p = ftell($fp)) <= $end) { if ($p + $buffer > $end) { $buffer = $end - $p + 1; } echo fread($fp,...
View Article