Okay...you are going too far.
This is what I need:
When the user submits the story (which is pasted into a form) and image (which is selected in the form, it is sent to the database, and outputted to an html file.
I have that.
I need a way, that when the image is put in a location, and the html file is written to the same folder, they can be named in a similar way so you can tell that one photo goes with one story.
The folder will already be in place.