Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
zip_entry_open() function in PHP
The zip_entry_open() function is used to open a zip archive entry for reading.
Syntax
zip_entry_open(zip_file,zip_entry,mode)
Parameters
zip_file − The zip file to be read
zip_entry − The zip entry to open.
mode − The type of access needed for zip archive
Return
The zip_entry_open() function Returns TRUE on success, or FALSE on failure.
Example
");
$flag = zip_entry_close($zip_entry);
if ($flag == true)
echo("$file . " closed!");
zip_close($zip_file);
?>
Output
new/one is opened now! new/one closed!
Advertisements
