Google
搜索www.dodoakn 搜索DoDoKan

函数:gzopen()

gzopen

打开压缩文件。

语法: int gzopen(string filename, string mode);

返回值: 整数

函数种类: 特殊文件格式

内容说明

本函数用来打开压缩文件。参数 filename 为文件名称。参数 mode 为开文件的状态。若有失败则返回 false 值。

使用范例


下面为部份程序

<?php
$fp
=gzopen(“/tmp/gzfile.gz”, “r”);
?>

参考

gzclose()


Leave a Reply