在php中使用mkdir()方法创建文件夹时报错:No such file or directory,出错代码如下: $uploads_dir = './Public/files/uploads/'.date('y-m-d',time()).'/'; if (!file_exists($uploads_dir)...
批量上传时php报错:PHP:Maximum number of allowable file uploads has been exceeded in Unknown on line 0,原因是php中max_file_uploads的默认配置过小。 解决办法:修改php.ini文件中max_file_uploads的配置值,从默认20修改到合适的值,比如...