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

Thanks guys, as it turned out my client just give me the ok to install as many modules as i want so i will be using the zip library.

Though, i found out there is a way with Zlib, check this additional library, couldnt get it to work, but i imagine it should...

http://www.winimage.com/zLibDll/minizip.html

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.