Welcome Guest, Not a member yet? Register   Sign In
Multiple file upload problem with Blueimp jQuery file uploader
#1

[eluser]Unknown[/eluser]
Hi there,

I have a problem with this Blueimp ajax file uploader stuff. The upload process runs perfectly with multiple files. It uploads everything really nicely. The problem comes when i want to retrieve the file informations that have been uploaded.

I save the uploaded data to

Code:
$data = $this->upload->data();

But this only gives me information about the latest uploaded file. If i upload more than one files at a time, i can't find a way to tell the names for the first, second etc files. I can only tell the name of the last.

I also tried to access the $_FILES array. The problem is the same. When i for example do:

Code:
$_FILES['userfile']['name'][1]

it gives me the second character of the file path. I was expecting the second uploaded file with this. Why is this happening?

Any help with this would be greatly appreciated.
#2

[eluser]Unknown[/eluser]
@OP
It would be helpful if you post the code, which you fixed.




Theme © iAndrew 2016 - Forum software by © MyBB