Does anyone know where I could find a script that I could integrate into my site that would allow an end user to upload a photo to our server?

Also looking for a way to automatically post that photo onto a page on the website, but if I can only find a way to upload the images that's a great start.

Not too familiar with how to write something myself so looking for something open source that I can utilize for now as a learning experience.

Thanks if you can help, or even point me in the right direction!