当前位置:Gxlcms > PHP教程 > php多文件上传数组转换,_PHP教程

php多文件上传数组转换,_PHP教程

时间:2021-07-01 10:21:17 帮助过:33人阅读

php多文件上传数组 转换,

















print_r($_FILES['UpLoadFile']);

$arr = array();

if(!empty($_FILES['UpLoadFile'])){



foreach($_FILES['UpLoadFile'] as $k=>$v){
foreach($v as $kk=>$vv){
if($kk==$kk){
$arr[$kk][$k] = $vv;
};
}
}
print_r($arr);
exit();
}


print_r($_POST);
print_r($_FILES);

?>




www.bkjia.comtruehttp://www.bkjia.com/PHPjc/867004.htmlTechArticlephp多文件上传数组 转换, !DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" html meta http-equiv="Content-Type" content="text/html; charset=utf-8" body form ac...

人气教程排行