readfile() on IIS (Windows 2003 Server) stalls after a while
Posted: Fri Oct 19, 2007 11:18 am
Hi everyone.
I have a php file that acts like a .mov file. All it does is print the appropriate headers then calls readfile() to copy out the mov of choice.
It works, except that after a few minutes (like 20 minutes, or 30 MB or so) into a 60 minute mov file, it stalls and does nothing for a while. Then after a long time it keeps on going again. It might even stall out again after a while.
Does anybody have any idea why it would work this way? Is it some sort of setting somewhere?
Any and all ideas are welcome.
Thank you very much in advance.
--
Tim
I have a php file that acts like a .mov file. All it does is print the appropriate headers then calls readfile() to copy out the mov of choice.
It works, except that after a few minutes (like 20 minutes, or 30 MB or so) into a 60 minute mov file, it stalls and does nothing for a while. Then after a long time it keeps on going again. It might even stall out again after a while.
Does anybody have any idea why it would work this way? Is it some sort of setting somewhere?
Any and all ideas are welcome.
Thank you very much in advance.
--
Tim