Re: Zip file
| From: | Richard Lynch | Date: | Mon, 22 Jan 2001 22:14:56 +0000 |
| Subject: | Re: Zip file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-36103@lists.php.net to get a copy of this message | ||
>Does anyone know how to create a .zip file using php?
Hmmmm. Not sure if gzip can handle .zip file per se, or if .gz file is
okay for what you need, but try here:
http://php.net/manual/en/ref.zlib.php
If not, there's probably some software out there somewhere that runs on
Linux that could be exec()ed to create a zip file.
If you are on Windows, I think the exec() stuff may or may not work
depending on a whole host of factors, such as PHP version, which Win version
you're on, ... Or maybe it just never worked...
But, if you could get exec() to work on your box, you could probably find a
command-line interface to a zip archive package somewhere.