Licson Lee says to YSITDfseek($fp, $ranges[0]); while (ftell($fp) <= $ranges[1]) { if ($ranges[1] - ftell($fp) < 4096) { $chunk = $ranges - ftell($fp); } else { $chunk = 4096; } echo fread($fp, $chunk); flush(); @ob_flush(); }at Sun, Oct 8, 2017 1:02 PM