GZIP OR BZIP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
momentumr77
Forum Newbie
Posts: 1
Joined: Wed Apr 21, 2010 6:53 pm

GZIP OR BZIP

Post by momentumr77 »

Hi all,

I installed on my webserver a photo album script that i had written, you upload ZIP files containing photos to the server, it decompresses them and adds them to a folder and to the database. However my hosting company did not accept the ZIPLIB extension i was using and said i need to be using GZIP or BZIP instead!

Where can i find those? can someone link me? been searching without success :(
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: GZIP OR BZIP

Post by Benjamin »

I believe you can find PHP implementations of ZIP, bypassing the need to have it installed on the server itself.
User avatar
Technocrat
Forum Contributor
Posts: 127
Joined: Thu Oct 20, 2005 7:01 pm

Re: GZIP OR BZIP

Post by Technocrat »

If they don't support it you can use the PclZip library
http://www.phpconcept.net/pclzip/pclzip-downloads
Post Reply