AJAX upload progress meter for PHP renders out a file input box with javascript tied to it for a status bar, then checks if a file has been submited or useful if your uploading to the same page that is generating output.

This script can also output html to the hidden iframe that will update the final status of the widget. It will help you check for errors, if there is one outputs an error message.