As a follow up to another question I had previously, I was wondering how I can take the image that the user just uploaded and then open a page on the site, edit a specific part of the page to include the <img> tag, and then save the new page with the image added, all through PHP. (Long sentence, huh?).
I was thinking of making a .inc file and just editing that, but doing it for so many pages could be tedious? Although I'm not sure if this is what the larger sites like Myspace, Facebook, and Flickr do, but whatever method is most efficient. for accomplishing this would be best.