I am currently working on a site that allows users to post topics like a forum.
I am looking at implementing a textbox where a user can either copy a URL into it, or browse there computer and find a local image and upload.
- if the URL is copied in
- it needs to be saved to the database
- if the image is uploaded
- it needs to be stored under /uploads/images
- it also needs to save the address to the mysql database
I have the file that posts the topic, and the one that adds the information to the database, I just need the tweaks made to existing files.