解析多文件上传 - PHP Posted on 2014-08-16 | In PHP | 解析多文件上传12345678910111213141516<?phpfunction parseMultiFileUpload($file, $e = false) { $arr = []; foreach ($file as $key => $value) { foreach ($file[$key] as $k => $v) { if (!$e) { if ($file['error'][$k] != 0) { continue; } } $arr[$k][$key] = $file[$key][$k]; } } return $arr;}?>