Compressed File Functions
The functions in this section use the zlib library to work with files compressed with GNU compression tools, such as gzip. The library was written by Jean-loup Gaill and Mark Adler. The two are authors of the gzip tool, in fact. You can obtain more information and the library itself from the zlib home page <http://www.cdrom.com/pub/infozip/zlib/>.
In order to activate these functions, you must include the zlib extension. On a UNIX operating system, you configure PHP to use zlib as you compile it. On Windows you may activate the php_zlib.dll extension either in php.ini or using the dl function.
Most of the functions for reading and writing files are duplicated here and they operate similarly. One difference is the lack ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access