TbsZip is a PHP class that enables you to read and write Zip archives. The class doesn't require PHP extensions or temporary files. TbsZip can read, add, delete, and modify files stored in an archive. It can even start with an empty archive. The original archive is not modified. The new archive can be saved in the server as a new file, or provided directly as an HTTP download, or even as a binary string. If the Zlib extension is activated in PHP, then TbsZip can automatically compress and uncompress files in the archive.
|Tags||PHP php class Zip archive Dynamic Content Software Development Libraries|
|Operating Systems||OS Independent|
The TbsZip package now includes code examples to help developers getting started quickly.
Release Notes: New method FileGetState(IdxOrName): return a string that gives the state of the file in the archive (unchanged, modified, deleted, added).
Release Notes: This release fixes corrupted archives which occurred when the original was using data descriptors without the signature, adds the new argument $UseIncludePath, and makes debug mode smarter.
Release Notes: 1 bug has been fixed: the method FileCancelModif() doesn't cancel added files.
Release Notes: Three minor bugs were fixed, and PHP notice messages were fixed.
Release Notes: One bug was fixed: a PHP warning that reads, "Warning: fclose(): 10 is not a valid stream resource," may happen when closing an archive twice.