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

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

Reply via email to