yw6866 发表于 2017-4-7 11:40:35

php gzopen函数-压缩文件函数库

打开压缩文件。
语法: int gzopen(string filename, string mode);
返回值: 整数
函数种类: 特殊文件格式

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

使用范例
下面为部份程序

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


相关函数:gzclose()
页: [1]
查看完整版本: php gzopen函数-压缩文件函数库