同时上传多个文件需要将多个文件以数组的形式组织,你的上传页面是怎么写的?需要写成这样的格式
<form action="upload.php" method="post" enctype="multipart/form-data">
  <input name="userfile[]" type="file"><br>
  <input name="userfile[]" type="file"><br>
  <input type="submit" value="upload">
</form>