Re: Files passing through

From: Date: Mon, 22 Aug 2005 23:00:41 +0000
Subject: Re: Files passing through
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-221127@lists.php.net to get a copy of this message
This one time, at band camp, Philip Hallstrom <php@philip.pjkh.com> wrote: > My guess would be because file_get_contents returns the contents as a > string. So if 'myfile' is 100mb, you're going to have to allocate 100mb > of memory to store that string while echo() spits it back out. > > But I'm just guessing as I don't know for sure... I think you got it, we really dont have enough information on what he has in myfile.txt Kevin "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."

« previous php.general (#221127) next »