摘要:
判断文件或目录是否存在有自带的函数 file_exists:文件是否存在 $file = "check.txt"; if(file_exists($file)) { echo "当前目录中,文件".$file."存在"; } else { echo "当前目录中,文件".$file."不存在"; } 阅读全文
posted @ 2016-05-30 10:04
dinoy
阅读(98134)
评论(0)
推荐(0)
浙公网安备 33010602011771号