1.判断文件/目录是否存在is_file函数is_file — 判断给定文件名是否为一个正常的文件,如果文件存在且为正常的文件则返回 TRUE,否则返回 FALSE。官方说明:http://php.net/manual/zh/function.is-file.php is_dir函数is_dir()...