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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.