Jump to content

Ajax multi file upload..issues


lordphate

Recommended Posts

Hey everyone,

 

I'm learning a bit about ajax, jquery, and how it works out. I'm having a small issue.

 

I'm using a jquery MultiFile upload http://www.fyneworks.com/jquery/multiple-file-upload/

 

And it does as it should, and i'm trying to do the backside of things


However when i do [code]
print_r($_FILES["photos"]);

i receive this :

Array ( [name] => Array ( [0] => [1] => HappyThanksgiving.jpg [2] => 0823081640.jpg [3] => 0814081510.jpg [4] => 0709081918.jpg ) [type] => Array ( [0] => [1] => image/jpeg [2] => image/jpeg [3] => image/jpeg [4] => image/jpeg ) [tmp_name] => Array ( [0] => [1] => C:\wamp\tmp\phpCFCA.tmp [2] => C:\wamp\tmp\phpCFDA.tmp [3] => C:\wamp\tmp\phpD00A.tmp [4] => C:\wamp\tmp\phpD02A.tmp ) [error] => Array ( [0] => 4 [1] => 0 [2] => 0 [3] => 0 [4] => 0 ) [size] => Array ( [0] => 0 [1] => 87633 [2] => 261160 [3] => 264875 [4] => 242486 ) ) 

 

Ideas on why it would group by name, type, tmp_name, error, and size ? I've never seen this before :|

 

Link to comment
https://forums.phpfreaks.com/topic/147521-ajax-multi-file-uploadissues/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.