Re: Unzipping file through PHP
| From: | Wolf | Date: | Thu, 22 May 2008 14:48:41 +0000 |
| Subject: | Re: Unzipping file through PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-274630@lists.php.net to get a copy of this message | ||
---- Suamya Srivastava <suamya.srivastava@connexios.com> wrote:
> Hi,
>
> I am writing a code to upload multiple files on the server using PHP. I
> zipped the folder containing these files, uploaded the zipped file through
> my application on the server. Now,I am trying to unzip the .zip file using
> PHP. I tried it in different ways using:
> 1.
unzip filename.zip
> 2. system ("unzip filename.zip")
> 3. system (unzip filename.zip)
>
> but it doesnt seem to work. However, the same commands work from command
> line. anybody has any ideas what might be wrong here?
>
> Thanks,
> Suamya.
>
RTFM is a GREAT place to start. http://us3.php.net/zip
What errors show up in your logs?
Wolf