Progress Bar
Posted: Fri Jun 16, 2006 10:54 am
I have a small application written in PHP that creates podcasts on the fly and allows users to upload files for their podcast. So, I've rolled it out in beta at this point, and people are playing around with it at the office and so far results have been great - they seem to love the thing. However, one major complaint is the lack of a progress bar while the file is uploading. I've had some users hit the submit button twice on large files because they didn't know if it was working or had frozen the browser, and some have just closed the window out - which completely ruins my algorithm because it's tough to say where in the process they were at (Writing the XML, updating the DB, uploading the file, etc).
So what I'm looking for is a way to implement a progress bar that will be PHP friendly. I've looked into some AJAX widgets and the like, but none of them seem to fit a straight PHP model - a few I've found in google searching have been Ruby-on-Rails implementations and I can't exactly go that route. On top of that, I'm terrible at JavaScript so writing something from scratch will be a difficult task for me.
Any ideas?
So what I'm looking for is a way to implement a progress bar that will be PHP friendly. I've looked into some AJAX widgets and the like, but none of them seem to fit a straight PHP model - a few I've found in google searching have been Ruby-on-Rails implementations and I can't exactly go that route. On top of that, I'm terrible at JavaScript so writing something from scratch will be a difficult task for me.
Any ideas?