Sorry, I can't help you find something already written to do what you want.
PHP Manual - Chapter 18. Handling file uploads
That should be a URL. When the upload is complete, the page has a link that says "Click here to continue."
Do not change this, it is there for security purposes.
That script is for uploading files to a directory. If you specify a web-accessible directory, then the public will be able to view them, just not with this script. Usually the hurdle is how to upload files and theres no need to re-invent the wheel if you can settle for Perl's CGI module.
Perl / MySQL / HTML CSS