- resource fopen(string filename,string mode [ , int use_include_path [ , resource context]]) 打开指定文件,文件名可以是: ./php.ini 或者一个url: ftp://www.csdn.net
- string fgetc(resource handld) 从文件指定位置读取一个字符
- string fgets(int handle [,int length]) 从文件指针中读取一行
- string fgetss(int handle [,int length [,string allowable_tags]]) handle指定读取的文件,length指定读取的长度,allowable_tags制定哪些标记不被去掉
- string fread(int handle,int length) 读取任意长度的字符串
- int readfile(string filename [,bool use_include_path [,resource context]) 读取一个文件并写入到输入缓冲,成功返回读取的字节数,失败返回false;
php 文件
最新推荐文章于 2022-09-16 10:19:17 发布