views:

26

answers:

0

Hello,

When I use file upload code of kitchesink (xhr_fileupload.js), in my app. file has been uploaded from photgallery to my server successfully but at server side(php) I got array of media in that array I got $name = $_FILES['media']['name']; but this $name is always "file", I didn't get actual name of file and extension of that file. how can I got that at php side?