日期:
作者: 小胡子哥
<form method="post" action="upload.php" enctype="multipart/form-data">
<input name='uploads[]' type="file" multiple>
<input type="submit" value="Send">
</form>
后端 php 处理,可以这样:
foreach ($_FILES['uploads']['name'] as $filename) {
echo '<li>' . $filename . '</li>';
}
这网速真是弱爆了...客官稍等,评论还在加载~