Please note the following is being posted by a complete newbie ignoramous...

I want to create a form/script that will accept html pasted into a textarea and turn it into an .html file to be stored on the server named whatever the user wants to name it. This .html file will then be accessed by whomever wants to view it.

I want the script to create an images directory for each individual user so they can upload the necessary images that correspond to the html they paste into the textarea.

How should I go about getting this started as far as logic is concerned? What security issues should I be wary of?

Welcome everybody, my name is Moe...otherwise known to the ladies as "hey you in the bushes". - Moe Sizlak