本文共 95 字,大约阅读时间需要 1 分钟。
检测文件夹是否存在,若不存在则创建
if(!file_exists($mul)){mkdir($mul, 0777);}
注意:仅设置777权限在Linux上无效,建议结合chmod命令使用