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?
您必须将type文件的类型定义为HTML数组,如下所示:
<input name="userfile[]" type="file" />
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.