zip_open
Open the ZIP file.
zip_open()
function opens the ZIP file for reading.
If successful, return the zip file archive resource. If it fails, false is returned.
Tip: The newly opened zip file resource can be used by zip_read()
and zip_close()
functions afterwards.
<?php $zip = zip_open ( "test.zip" ) ; zip_read ( $zip ) ; // Some code... zip_close ( $zip ) ; ?>
zip_open ( filename )
parameter | describe |
---|---|
filename | Required. Specifies the file name and path of the zip file to be opened. |