So use PclZip class, it is pure php without the need to have nay special
extension installed
Vincent M. wrote:
Daevid Vincent wrote:
You could use the exec() or shell_exec() and just do it via command line
method...
Yes but gunzip does not work when there are more than one file in the
zip file
> zip file and unzip is not installed by on Unix servers. :-(
So either install it on the servers that need it, or distribute the un/zip
exe with your package in your projects local directory -- this also saves
you having to deal with different versions on different servers that may not
always do
Vincent --
...and then Vincent M. said...
%
% David T-G wrote:
% >
% >...and then Vincent M. said...
% >%
...
% >% No, it works with .zip files too, I just don't know how to manage it :-(
% >
...
% >AFAIK gunzip can unzip an archive containing a single file, but if you
% >have more than one in t
Daevid Vincent wrote:
You could use the exec() or shell_exec() and just do it via command line
method...
Yes but gunzip does not work when there are more than one file in the
zip file and unzip is not installed by default on Unix servers. :-(
--
PHP General Mailing List (http://www.php.net/)
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
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 conta
You could use the exec() or shell_exec() and just do it via command line
method...
> -Original Message-
> From: Vincent M. [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, March 19, 2003 12:36 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Zip Way of life.
>
>
> Hello,
>
> I'd like to uncompr
Marek Kilimajer wrote:
readgzfile is for *.gz files.
Either use zip file functions (rarely supported) or PclZip
(http://www.phpconcept.net/pclzip/index.en.php)
No, it works with .zip files too, I just don't know how to manage it :-(
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
readgzfile is for *.gz files.
Either use zip file functions (rarely supported) or PclZip
(http://www.phpconcept.net/pclzip/index.en.php)
Vincent M. wrote:
Hello,
I'd like to uncompress to the Hard disk a zip file send by the browser.
At this time I do this:
function uncompresszip($zipfile) {
9 matches
Mail list logo