Re: Big files management

From: Date: Fri, 04 Aug 2006 20:46:07 +0000
Subject: Re: Big files management
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240158@lists.php.net to get a copy of this message
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

« previous php.general (#240158) next »