+ 1
what is the context ? for a website, you would create a upload form, stock the pictures in a folder and when you need to display the picture for a profile, check if that picture exists
of course that is the straight forward version, but you might get the idea