Blueimp 多文件上传
我使用名为 Blueimp 的 jQuery UI 文件上传器。这是一个非常好的东西,可以很好地处理多个文件,但我只是无法提取该脚本之前上传的文件名。
当我检查 $_FILES 数组时,我只能看到最后上传的文件。
当我尝试检查数组的其他成员时,就像
$_FILES['userfile']['name'][1]
$_FILES['userfile']['name'][2]
我正在取回文件名所包含的字符一样。有人知道为什么只有最新的文件名可用吗?
I use a jQuery UI file uploader called Blueimp. It is a very nice stuff, working well with multiple files, but i just can't extract the file names this script has previously uploaded.
When i check the $_FILES array i can only see the last uploaded file.
When i try to check other members of the array like
$_FILES['userfile']['name'][1]
$_FILES['userfile']['name'][2]
I am getting back the characters that the filename consists of. Anyone knows why only the latest filename is available?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须将 of 类型文件定义为 HTML 数组,如下所示:
You have to define the of type file as an HTML array like the following: