note 74352 deleted from function.gzcompress by bjori
| From: | bjori@php.net | Date: | Sat, 07 Apr 2007 15:20:28 +0000 |
| Subject: | note 74352 deleted from function.gzcompress by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-125170@lists.php.net to get a copy of this message | ||
Note Submitter: administrator at proxy-list dot org
Reason: or simply use the zip extension
----
Very easy to use but powerful class to create zip archives. Feel free to use, change or add extra
features as long you have the credits.
Full working class could be downloaded here:
http://proxy-list.org/classes/zipop.html
(with PHP high lite)
http://proxy-list.org/classes/zipop.txt (plain
txt)
(if for some reasons you can not download class or you have some questions please mail me)
Example:
$zipOp = new zipOp();
$zipOp->AddFile('./file/name.log', '/some/dir/name.log');
$zipOp->AddDir('/some/dir/name');
$zipOp->ZipFile('test.zip');
Regards
Vitali Simsive