今天做上传的文件时候,打印$_files总是为空,查阅了下资料。
发现是 max_file_uploads=0 知道了原因
file_uploads = On upload_max_filesize = 20M max_file_uploads = 20