WebZipper PHP Class

WebZipper PHP Class Created by pauloreg. This templates have specific characteristics, namely: WebZipper is a php class for creating zip files/folders without comments or with comments, read the comments from zip archive, unzipping archives, delete and rename files inside the zip archive with user friendly messages. This class was written with prebuilt php functions available for PHP5 .2+ .

You can use this WebZipper PHP Class on Php scripts category for archive, class, compressor, create zip, file compressor, php, unpack, unzip, webzipper, zip, zip archive, zip folders and another uses.

WebZipper PHP Class
© Copyright by pauloreg

Features:

  • None: None
  • None: None
  • Php 5.0 5.2: PHP 5.0 – 5.2
  • Ie6, ie7, ie8, ie9, firefox, safari, opera, chrome: IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome
  • Php: PHP
  • No: No

WebZipper is a php class for creating zip files/folders without comments or with comments, read the comments from zip archive, unzipping archives, delete and rename files inside the zip archive with user friendly messages. This class was written with prebuilt php functions available for PHP5 .2+ but can work in olderphp versions if PECL extension is available.

Features:
– Zip files/folders
– Zip files/folders with comments
– Read Comments from zip archives
– Unzip archives
– Delete files inside zip archive
– Rename files inside zip archive
– Friendly Messages
– GUI /UI Ready

Code Example:

//requires the webzipper classrequire('zip.php');
$zip = new zip;
$files[] = 'file.txt'; //array of files to be zipped
$file_path = time() . '.zip';
$zip->zip_files($file_path, $files); -> Creates zip files
$target = 'backup'; //path to folder to extract
$zip->unzip_file($file_path, $target); -> Unzips the same zipped file or especified

and more…

More Functionality with less code!

Video preview using zip/packing feature on uploaded files
http://www.youtube.com/watch?v=wTyZlA34gvQ