News Feed
Sections




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

Zend Developer Zone:
Dynamically Creating Compressed Zip Archives With PHP
June 05, 2007 @ 11:54:00

The Zend Developer Zone has a new tutorial that focuses on the dynamic creation of zip archives in a PHP application.

PHP too has included support for the ZIP format since PHP 4.x but it was only recently when, idly browsing the PHP manual, I realized that PHP 5.2.0 includes a re-engineered version of the ext/zip extension, one based on the zlib library. Bored and not a little intrigued, I decided to try it out. And over the next few pages, I'm going to tell you what I found.

The tutorial does require that you have the zip extension installed before getting started. He starts with the basics (reading and opening a zip file) but quickly moves on to creating and decompressing them. All of the code needed is included of course, so you'll be up and working with your own zip files in no time.

1 comment voice your opinion now!
zip archive extension tutorial extract compress decompress zip archive extension tutorial extract compress decompress


blog comments powered by Disqus

Similar Posts

CodeIgniter Blog: CodeIgniter Community Voice - HOWTO: Set up a CodeIgniter project in Subversion

Stefan Mischook's Blog: PHP Video Tutorial: PHP Loops

Blue Parabola Blog: Installing phpUndercontrol on Debian Etch

Fabien Potencier's Blog: Create your own framework...on top of the Symfony2 Components (parts 3 & 4)

Kevin Schroeder: Creating a module in Magento 2


Community Events





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


introduction install composer laravel application podcast release series package security opinion voicesoftheelephpant version community library framework interview tool symfony language

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