readfile() on IIS (Windows 2003 Server) stalls after a while

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
timrkoop
Forum Newbie
Posts: 5
Joined: Fri Oct 19, 2007 11:01 am

readfile() on IIS (Windows 2003 Server) stalls after a while

Post by timrkoop »

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
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Does it only happen when viewing through your PHP viewing app?
timrkoop
Forum Newbie
Posts: 5
Joined: Fri Oct 19, 2007 11:01 am

Post by timrkoop »

Everah wrote:Does it only happen when viewing through your PHP viewing app?
That's right. When I view the mov file normally, straight from IIS, it all works fine.
Post Reply