PHP zip_entry_name() Function
Complete PHP Zip File Reference Manual
Definition and Usage
The zip_entry_name() function returns the name of the zip archive.
Syntax
zip_entry_name(zip_entry)
| Parameters | Description |
|---|---|
| zip_entry | Required. Specifies the zip entry resource to read (the zip entry opened by zip_read()). |
Example
"; } zip_close($zip); } ?>The code above will output:
Name: ziptest.txt
Name: htmlziptest.html
Complete PHP Zip File Reference Manual