I am trying to set up file upload function as in http://jquery.malsup.com/form. But the example for file upload with progress bar do not have the server side script example.
All that i know is to process the $_FILES, $_POST, sanitise, and save; but not able to figure how to send progress bar data from server to browser. I am not sure how uploadProgress get data from file_echo2.php in the example http://www.malsup.com/jquery/form/progress2.html
Can some one hint me in how to capture the file upload progress while it is uploading? Thanks in advance.