I am trying to unzip a file from a PHP script using the exec() command as follows:

exec("c:\pkzip\pkunzip.exe -e c:\file.zip c:\unzipped*.*");

where c:\file.zip is the compressed file and c:\unzipped*.* is the destination.

It does not do anything - could anybody please help and tell me what I am doing wrong.

Thanks

    Jon

    Thanks for the quick response. However, I am a newbie to PHP and do not know how to add the extra support you are suggesting.

    Could you please give me some guidance.

    Thanks

      Write a Reply...