Re: bzip/zlib question

From: Date: Fri, 31 May 2002 18:04:47 +0000
Subject: Re: bzip/zlib question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-100139@lists.php.net to get a copy of this message
So does anyone have any advice on adding files rather than strings? On Fri, 31 May 2002, Michael Davey wrote: > I have been looking through the documentation for using Bzip2 or zlib > compression and have a couple of questions for the group... > > 1. Which is best to use on terms of: resultant file size, availability > of decompression clients & ease of use? File size: bzip2 wins, hands down Client availability: zlib wins, hands down Easy of use: tie. miguel > 2. Both bzip & zlib documentation makes use of *write() functions to add > strings to the file, but can this be used to add files? > > 3. I intend to add two or more zip files to the archive so that the > client only needs to download one file rather than several- which is most > suited to this - zlib or bzip2? > > Mikey

« previous php.general (#100139) next »