Re: Zip Way of life.

From: Date: Thu, 20 Mar 2003 01:34:54 +0000
Subject: Re: Zip Way of life.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-140349@lists.php.net to get a copy of this message
David T-G wrote:
Vincent, et al -- ...and then Vincent M. said... % % Marek Kilimajer wrote: % >readgzfile is for *.gz files. ... % No, it works with .zip files too, I just don't know how to manage it :-( You mentioned wanting the "files" (note the plural) in the zip file. AFAIK gunzip can unzip an archive containing a single file, but if you have more than one in there then you need to use an actual unzip tool (like, say, unzip :-) While a class or a built-in command might be nice, if you just want to get them out then a simple system call might be the easiest way to go. HTH & HAND :-D
Yes but gunzip does not work when there are more than one file in the zip file and unzip is not installed by on Unix servers. :-(

« previous php.general (#140349) next »