|
PHP5中文手册
gzopen(PHP 4, PHP 5) gzopen — Open gz-file 说明
resource gzopen
( string $filename
, string $mode
[, int $use_include_path
] )
Opens a gzip (.gz) file for reading or writing. gzopen() can be used to read a file which is not in gzip format; in this case gzread() will directly read from the file without decompression. 参数
返回值Returns a file pointer to the file opened, after that, everything you read from this file descriptor will be transparently decompressed and what you write gets compressed. If the open fails, the function returns FALSE. 范例
Example#1 gzopen() Example
<?php |