常用文件操作函数
1、打开文件:fopen(filename,mode,include_path,context)

2、复制文件:copy(source,destination)

3、删除文件:unlink(filename,context)

4、文件读取
file_get_contents(path,include_path,context,start,max_length)

5、文件写入:
fwrite(file,string,length)

6、文件移动
move_uploaded_file(file,newloc)

7、过滤PHP和html标签
fgetss(file,length,tags)


浙公网安备 33010602011771号