* Thus wrote Richard Lynch: > Sebastian wrote: > > i'm working on a app which output files with readfile() and some headers.. > > i read a comment in the manual that says if your outputting a file php > > will > > use the same amount of memory as the size of the file. so, if the file is > > 100MB php will use 100MB of memory.. is this true? > > > > if it is, how can i work around this? > > I don't know if it's STILL true (or ever was) that readfile() would suck > the whole file into RAM before spitting it out... Seems real unlikely, > but... Never was and still isn't. using either readfile or fpassthru is the best route. Curt -- Quoth the Raven, "Nevermore." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php