Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

JBLabs Blog:
How to create a zip archive using PHP
Jul 03, 2007 @ 16:08:00

On the JSLabs blog today, there's a (short) new tutorial showing an alternate method to creating a Zip archive in PHP (rather than with the zip extension).

He illustrates the creation of simple archive that pulls in a test file from a given path. This is then pushed into the zip archive and packed down and exported. He also notes the different compression levels that it can be created with - no compression, bzipped and gzipped.

You can download the library here.

tagged: zip compress archive library bzip gzip zip compress archive library bzip gzip

Link:


Trending Topics: