Zip Module - Managing ZIP Archive Files

This chapter provides tutorial examples and notes on Zip module for managing ZIP archive files. Topics include introduction of ZipArchive class; creating new ZIP archive; extracting files from ZIP archive; creating directory structure inside ZIP archive; creating ZIP archive in a temporary file with dynamic data.

The ZipArchive Class

Create New ZIP Archive

Extract Files from ZIP Archive

Create ZIP Archive with Directory

Create ZIP Archive for Download

Takeaways:

Table of Contents

 About This Book

 Introduction and Installation of PHP

 Managing PHP Engine and Modules on macOS

 Managing PHP Engine and Modules on CentOS

 cURL Module - Client for URL

 DOM Module - Parsing HTML Documents

 GD Module - Manipulating Images and Pictures

 MySQLi Module - Accessing MySQL Server

 OpenSSL Module - Cryptography and SSL/TLS Toolkit

 PCRE Module - Perl Compatible Regular Expressions

 SOAP Module - Creating and Calling Web Services

 SOAP Module - Server Functions and Examples

Zip Module - Managing ZIP Archive Files

 References

 Full Version in PDF/EPUB