2017年7月18日

php fseek ftell

摘要: ', ftell($file_handle); //0 fseek($file_handle, 3);//该函数把文件指针从当前位置向前或向后移动到新的位置,新位置从文件头开始以字节数度量。 echo '', ftell($file_handle);//3 echo '', fgets($file_handle, 3);//34 阅读全文

posted @ 2017-07-18 06:45 huodaihao 阅读(144) 评论(0) 推荐(0) 编辑

导航