Open, read, and close a ZIP file archive:
<?php
$zip = zip_open("test.zip");
zip_read($zip);
// some code
zip_close($zip);
?>
The zip_open() function opens a ZIP file archive.
zip_open(
zip)
Parameter | Description |
---|---|
zip | Required. Specifies the ZIP file to open |
Return Value: | A resource handle on success. FALSE on failure |
---|---|
PHP Version: | 4.1.0+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!