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-compressed document and the files inside it
Please provides a subset of functions provided into 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 that this library is only a subset of all of the extension features of zip, and can only read the contents of the zip document. A common zip environment requires the ability to create zip documents
ZIP support in PHP isn't enabled by default. You'll need to use the--with-zip configuration option when compiling PHP to enable zip support. This module requires Zziplib version >= 0.10.6.
PHP does not have a default support ZIP, you need to use the--with-zip configuration to compile your PHP. This module requires a 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: The zip is tested before 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 that reads each file in the archive and prints out 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.