Re: Big files management

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

 



On Wed, July 26, 2006 5:16 am, Yannick Warnier wrote:
> I'm trying to deal with big files (over 4GB) with PHP4.3.9 ans PHP4.4
> but obviously it's not really possible.

You can't use something like file_get_contents() or file() because it
would pull the whole 4GB into RAM, but
http://php.net/fopen
http://php.net/fread
should work just fine...

> Is there a library somewhere that allows elementary operations on
> these
> kinds of files by, for example, using the operating systems commands
> (Linux in this case)?

You could use:
http://php.net/exec
to run the Linux commands.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
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