how to allow picture uploads on a website?

view full story

http://ubuntuforums.org – How would you add the functionality of allowing data uploads in the form of pictures? What kind of structure should be used by the server to store the pics? Assume the server is LAMP based. Thanks! (Hardware)