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

PHP zip_entry_name() Function

PHP zip_entry_name() Function


PHP Zip File Reference Manual 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


PHP Zip File Reference Manual Complete PHP Zip File Reference Manual