I'm currently in the process of re-writing an old CMS by updating alot of the work to AJAX to speed everything up (and, finally, the drag-drop is actually useable, rather than painfully slow). However, I'm currently stuck on what to do with image uploads. Because I have no access to my
hosting configuration (I'm using free
hosting for everything :blush, I can't use any of the progress indicators that I've found online for AJAX uploads.
The actual upload is performed, in the old version, using the
PHP $_FILES.
So: questions:
1) Is there a simple way to get the progress of a XMLHTTP Request?
2) Is there a simple way to transfer the file in the
PHP script in blocks, and echo after each block completion
3) Can you make another suggestion for a pure JS/AJAX/PHP solution. I don't need fancy scrollbars, just a percentage...