判断文件是否存在 删除文件

file_exists(路径)

#删除文件夹
unlink(路径)

  

原文地址:https://www.cnblogs.com/hgj123/p/4166644.html