函式:gzread()


gzread

压缩档读出指定长度字串。

语法: string gzread(int zp, int length);

传回值: 字串

函式种类: 特殊档案格式

内容说明

本函式用来读取指定长度的字串。参数 gz 为开档的代码。参数 length 为指定长度。

使用范例

<?php
$filename 
"/temp/sosofile.txt.gz";
$zd gzopen($filename"r");
$contents gzread($zd10000);
gzclose($zd);
?>


[ 上一页 下一页 ]