Is it possible to show a progressbar in a normal file upload, without ajax? For example I have a form :
<form action='fileupload.php' method='POST'>
<input type='file' name='file1' />
<input type='submit' value='Upload'>
</form>
And I select a file and click upload. Is it possible to display a progressbar, until the file is completely uploaded and redirects the page? Because non-AJAX upload is good for my situation and I don't want to use an entire complex plugin just for a progressbar.
EDIT :
I understand this question has not had a conclusive answer so far, but it is definitely not a duplicate of the question marked. Explanation for those who can't understand: The progress of a file upload should be known at two places- The Server, while receiving the file packets. The Client Browser, while receiving the acknowledgement from the server for respective packets (Internet Protocols?). Currently almost all the algorithms for progress-bars are based on explicitly sending AJAX data parallel to the file upload between javascript on client and PHP on server. My question is if there is any way to know the progress of file upload without the parallel communication, since the browser must already know the packets received in at the server...