Jump to content

Is there a way to unzip zip files using bzip2 or zlib?


OsvaldoM

Recommended Posts

I've looking for a way to unzip zip files without actually installing the zip module and using my defaults bzip2 or zlib. The documentation in zlib claims it cannot due it by itself...

And bzip2, well, it has no documentation pretty much. could someone point me a tutorial or resource that shows how to do it? (in case it's possible).

Thanks in advance

Link to comment
Share on other sites

BTW

can't you just use exec() to have the server do it?

 

No i couldn't due to server restrictions

 

ah i see.

 

I saw a ZipArchive example but I hadn't heard of the ZipArchive class before so wasn't sure if it was part of PHP or not. How do you know if it's enabled or not? What is the flag?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.