Javascript sending array with files to php
<p>So i'm sending a jquery object that contains some info about a file and the actual <code>$("#input").files[0]; item</code>.</p>

<p>The jquery/javascript looks something like the following:</p>

<pre><code>$.ajax({
    url: '/upload/create',
    type: 'POST',
    dataType: 'json',
    data: JSON.stringify(data),
    success: function(msg) {
        alert(msg);
    }
});
</code></pre>

<p>The data variable is a JQuery object that contains info about the uploaded file and the file itself(I think), I just passed it in the object.</p>

<p>Is there any way to extract and save this file on the server-side with PHP?</p>