Jump to content


Output Buffer/readfile() Issue

  • Please log in to reply
No replies to this topic

#1 apollo168

  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 28 September 2006 - 10:05 PM

I'm working on a site that is successfully using a forced download for know MIME types.

My problem is with the readfile() function.  Some of the these files are >5MB, and using readfile() forces PHP to read the file THEN put it in the to the buffer.  That's way too long of a wait, and way too much processing.  Is there a way to stream file directly in to the output buffer?

Thanks for the help!


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users