PHP 文件操作
判断文件或目录是否存在
bool file_exists(string filename)
判断文件或目录是否存在,存在则返回真,
否则返回假
格式:
if(file_exists(“hello.txt”))
{
Echo “
”
文件存在 ;
}