Home     PHP / Javascript / Ajax
PHP PHP Zip files and directory class Script

PHP Script Codes > development-tools

PHP Zip files and directory class Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 91

PHP Script Codes > PHP Zip files and directory class
This PHP class is capable of Zipping a single file or even an entire directory. To use this Zip class file,
-You have to include this file in your project.
-Create class object.
-Call the public function compress(); this function takes two arguments, source and destination. You can omit the second argument, and then working folder will be the destination. On success this function will return the Zip file name.
-An example file is given to understand the mater.