News Feed
Sections




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

Vinu Thomas' Blog: PHP functions in Javascript using PHP.JS

SitePoint PHP Blog: Google's BigQuery Provides Free Access to GDELT

Jeremy Kendall: PHP Password Hashing: A Dead Simple Implementation

SitePoint PHP Blog: Where are you? Implementing geolocation with Geocoder PHP

PHPit.net: Image manipulation with PHP & the GD library (Part 1)


Community Events

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


introduction example install opinion interview xdebug voicesoftheelephpant unittest extension podcast laravel library php7 release laravel5 framework community series api language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework