Upload Script w/ Progress Bar

I’m looking to write an upload script that can show a progress bar. I assume this will have to be AJAX driven.

Does anyone know how to do this in PHP?

Uploadify uses flash to calculate the progress and it does a fine job at that.
SWFupload is also pretty decent.

They don’t use PHP to calculate the progress though, nothing changes on that end.

Try http://www.plupload.com/ (client-side).

Thanks. That looks good.

How would you compare APC against uploadify?

Here’s a guide: http://www.ultramegatech.com/blog/2008/12/creating-upload-progress-bar-php/

Please note that you’ll need APC installed on the server, and not all shared hosts have this installed (in which case the above link’s example won’t work).