PHP.nl

readgzfile

readgzfile

Output a gz-file

 **readgzfile** string $filename bool $use_include_path

Reads a file, decompresses it and writes it to standard output.

can be used to read a file which is not in

gzip format; in this case will directly read from the file without decompression. readgzfile``readgzfile

filenameThe file name. This file will be opened from the filesystem and its contents written to standard output.

use_include_path When set to true the

   will be used to determine which file to open.
  include_path

Returns the number of (uncompressed) bytes read from the file on success, return.falseforfailure

gzpassthru``gzfile``gzopen