WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP Zip File Functions


PHP Zip File Introduction

The Zip records capacities enables you to peruse ZIP files.


Installation

For the Zip record capacities to take a shot at your server, these libraries must be installed:

Installation on Linux Systems

PHP 5+: Zip capacities and the Zip library isn't empowered as a matter of course furthermore, must be downloaded from the connections above. Utilize the - - with-zip=DIR design choice to incorporate Zip support.

Installation on Windows Systems

PHP 5+: Zip capacities isn't empowered of course, so the php_zip.dll what's more, the ZZIPlib library must be downloaded from the connection above. php_zip.dll must be empowered within php.ini.

To empower any PHP expansion, the PHP extension_dir setting (in the php.ini document) ought to be set to the index where the PHP augmentations are found. A model extension_dir esteem is c:\php\ext.


PHP Zip File Functions

PHP: demonstrates the most punctual adaptation of PHP that bolsters the function.

Function Description PHP
zip_close() Closes a ZIP file 4
zip_entry_close() Closes a passage in the ZIP file 4
zip_entry_compressedsize() Returns the packed size of a passage in the ZIP file 4
zip_entry_compressionmethod() Returns the pressure strategy for a passage in the ZIP file 4
zip_entry_filesize() Returns the real record size of a passage in the ZIP file 4
zip_entry_name() Returns the name of a section in the ZIP file 4
zip_entry_open() Opens a section in the ZIP record for reading 4
zip_entry_read() Reads from an open section in the ZIP file 4
zip_open() Opens a ZIP file 4
zip_read() Reads the following section in a ZIP file 4