Re: [PHP] Unzipping file through PHP
---- Suamya Srivastava <suamya.srivastava@xxxxxxxxxxxxx> 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
.
Relevant Pages
- Unzipping file through PHP
... I am writing a code to upload multiple files on the server using PHP. ... zipped the folder containing these files, uploaded the zipped file through ... Now,I am trying to unzip the .zip file using ... (php.general) - Re: Directory Upload
... entire directory and uploading the zipped file. ... On the server side, ... unzip the uploaded zip file by using the ZipInputStream and ... (comp.lang.java.developer) - Re: Publishing my Web Site
... Unzip the file on your production site. ... I'm not sure if I have the ability to unzip a file on my host server. ... For me, it's only connection strings, which I modify manually after the "publish" to a local folder. ... There's a few things (some error settings, ... (microsoft.public.dotnet.framework.aspnet) - Re: Package fail on unzip file step...
... the unzip program is invoked on your machine. ... it is invoked on the server. ... I have a DTS package that is designed to download files from a FTP server ... if I where to run the package manually it works but if i schedule it to run ... (microsoft.public.sqlserver.dts) - Re: [PHP] Unzipping file through PHP
... I am writing a code to upload multiple files on the server using PHP. ... Now,I am trying to unzip the .zip file using ... Los sabios buscan la sabiduría; los necios creen haberla encontrado. ... (php.general) |
|