Hello,
I am trying to upload a file with jquery's -> $.ajax(); <- method The problem is that it works using plain PHP, but I am not getting the actual values if using Phalcon. Here's some sample code:
.. formData = new FormData($(this)[0]); $.ajax({ url: "/upload", type: 'POST', data: formData, async: false, cache: false, contentType: false, processData: false, success: function (data) { console.log(data); } });
phalcon see's that the request is been made via POST and AJAX but it's not getting the actual submited information. If this is supported by Phalcon? How the serverside code should look like?!
Thank you!