Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 548 Bytes

README.md

File metadata and controls

21 lines (17 loc) · 548 Bytes

ZipHelper

A simple class for creating zip files.

Example:

$oZipHelper = new ZipHelper("my_archiv.zip");

$oZipHelper->addSource('*.txt')
           ->addSource('*.php')
           ->addSource('../')
           ->addSource('/test.txt')
           ->addSource(array('/home/sklueh/write.sh', 
                             '/home/sklueh/config.php'))
           ->addSource('/home/sklueh/my_directory')
           ->create();

For more information visit the following link:

http://sklueh.de/2013/08/php-zip-archiv-erstellen/