Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP zip_open() Function

PHP zip_open() Function


PHP Zip File Reference Manual Complete PHP Zip File Reference Manual


Definition and Usage

The zip_open() function opens a zip archive for reading.

On success, this function returns a zip file resource. On failure, it returns FALSE.

Syntax

zip_open(filename)

Parameters Description
filename Required. Specifies the filename and path of the zip file to open.

Tips and Notes

**Tip:** The opened zip file resource can be used by the zip_read() and zip_close() functions.


Example


PHP Zip File Reference Manual Complete PHP Zip File Reference Manual