Re: Files passing through

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This one time, at band camp, Philip Hallstrom <php@xxxxxxxxxxxxxxx> 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."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux