I have an AJAX form in my ZF2 application. I want to handle file uploads. The JavaScript code I have written to handle the form submission can be found here. How do I send the uploaded file's details to my PHP script? My current code just sends the file name.
Appreciate any help.