Re: Auto unzip uploaded file
| From: | James Lobley | Date: | Fri, 30 Sep 2005 14:50:58 +0000 |
| Subject: | Re: Auto unzip uploaded file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223470@lists.php.net to get a copy of this message | ||
On 9/30/05, Norbert Wenzel <mail@brain4art.at> wrote:
>
> I know a script (it's a webgallery) where you upload your images.zip
> with any amount of images in it. After uploading the .zip get unzipped
> and the images will be placed into the gallery.
>
> How did they unzip (or better, how is it possible to unzip) the file
> with php? and is it possible to extract let's say .rar or any other
> common format as well?
>
>
> thanks for your suggestions,
> norbert
You might like to take a look at this:
http://www.phpconcept.net/pclzip/index.en.php
I've had great success with it - both extracting files and creating zips.