Maison > Article > développement back-end > php 批量上传
$competition_image = $_FILES['competition_image'];//获取传上来的批量的文件
$file = 'uploads/ext_masterdata/doors/';//上传问价到目标目录
for($i=0;$i
if(move_uploaded_file($competition_image["tmp_name"][$i],$url)){//移动到目标目录
}
}