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 older php 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 class require("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 fileshttp://www.youtube.com/watch?v=wTyZlA34gvQ