title: Jquery file upload plugin with php how to receive ajax data
body: <p>I'm using <a href="https://github.com/blueimp/jQuery-File-Upload" rel="nofollow">jQuery file upload plugin</a></p>
  
  <p>i have read all the docs provided. there is a php integration class but the class is so complicated and not commented at all i just want how to receive the JSON Data and response to the plugin.</p>
  
  <p>because i want a simple implementation just receive the $_FILES array and upload files with move uploaded files. this is the simple plugin:</p>
  
  <pre><code>$('#fileupload').fileupload({
  
       dataType: 'json',
    done: function (e, data) {
        $.each(data.result, function (index, file) {
          $('&lt;p/&gt;').text(file.name).appendTo(document.body);
        });
    }
  });
  </code></pre>
  
  <p>and the html is:</p>
  
  <pre><code>   &lt;input id="fileupload" type="file" name="files[]" data-url="server/php/" multiple&gt;
  </code></pre>
  
  <p>the question is how to receive the $_FILES array from this plugin and response to it ???</p>
  
  <p>please could someone help me?  just a simple code snippet and i will do the rest</p>