This module uses the functions of the Zziplib Library by Guido Draheim to transparently read ZIP compressed archives and T He files inside them.
This module uses the Zziplib library (Guido Draheim) to read the zip archive and the files inside it
Please note this zziplib only provides a subset of functions provided in a full implementation of the ZIP compression algo Rithm and can only read ZIP file archives. A Normal zip utility is needed to create the zip file archives read by this library.
Note: This library is just a subset of all the extensions in zip, and can only read the contents of the zip document. A normal zip environment requires the ability to create zip documents
ZIP support for PHP is not enabled by default. You'll need to use the--with-zip if the configuration option is compiling PHP to enable zip support. This module requires Zziplib version >= 0.10.6.
PHP does not have default support for ZIP, you need to use--with-zip configuration to compile your PHP. This module requires Zzpilib version >=0.10.6
Note:zip Support before PHP 4.0.7 is experimental. This section reflects the Zip extension as it exists in PHP 4.0.7 and later.
Note: Zip is tested prior to 4.0.7. This chapter is written in php4.0.7 and later versions of Things
Example Usage
This example opens a ZIP file archive, reads each file in the archive and prints out of its contents. The test2.php archive used in this example are one of the test archives in the Zziplib source distribution.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.