Zlib - Insert files?

From: Date: Wed, 11 Feb 2004 17:07:26 +0000
Subject: Zlib - Insert files?
Groups: php.general 
Request: Send a blank email to php-general+get-177420@lists.php.net to get a copy of this message
Hi there! I'm trying to make a GZip compressed file with some files in it. But i'm only getting a foo.gz with a file foo in it an foo contains the data of all files in $this->_Files. I need foo.gz with a file and its content for each $this->_Files. $fp = gzopen('foo.gz', 'wb9'); for($i = 0; $i < count($this->_Files); $i++) { gzwrite($fp, file_get_contents($this->_Files[$i])); } gzclose($ZP); rgds Till

« previous php.general (#177420) next »