【发布时间】:2012-09-24 07:29:05
【问题描述】:
我正在尝试使用 html 和 php 上传多个文件
<input type="file" name="upload[]" accept="image/gif, image/jpeg, application/x-tar, application/x-zip-compressed" multiple="true">
在php中使用时
print count($_FILES['upload']);
即使我在 html 中选择了 20 个文件,我也总是获得最多 5 个文件。 我应该怎么做才能一次上传 20 个文件?
【问题讨论】:
标签: php html file-upload types input