16 Sep You have to attach the file somewhere. You have 2 options: Send it via AJAX and base64 format (or using FormData API/FormData/Using_FormData_Objects - it's not cross platform). Send it using regular Form like this. DOCTYPE html PUBLIC "-//W3C//DTD XHTML Strict//EN" " TR/xhtml1/DTD/">. dynamic multi-file upload using jQuery without the need for AJAX. Works by dynamically adding/ removing hidden file input elements to create a multiple. file upload form while only ever. 5 Mar I've got an export functionality built into my site, whereby users can choose which rows of a data table to export. They export by clicking an "Actions" dropdown and choosing "Export". This triggers an AJAX call that posts which ids to export to a PHP script, which, in turn, builds an Excel document on the fly.