News Feed

News Archive
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
July 03, 2007 @ 11: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.

0 comments voice your opinion now!
zip compress archive library bzip gzip zip compress archive library bzip gzip

blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Dynamically Creating Compressed Zip Archives With PHP

Inside Open Source: Programming with Configuration Files

Lars Strogny: The state of meta programming in PHP Creating an RSS Aggregator with the PHP SimplePie Library Talking to GitHub with PHP

Community Events

Don't see your event here?
Let us know!

framework series tool interview artisanfiles conference podcast community library symfony voicesoftheelephpant version introduction composer security release laravel language list opinion

All content copyright, 2014 :: - Powered by the Solar PHP Framework