Hi there,
I am building a website where a registered user can upload his HTML file to the website. What I need to do is, when the user uploads his HTML file, I need to parse the HTML file for any image tags and if there are, I need to create a folder and put those image files in it and make my HTML point to it's images using the new path.
In short, I want to build a system like when we try to save a HTML file (from the web) with images, it automatically creates a folder with the images in it and makes the HTML point to those images using the new path.
Has anybody done this? I am quite new to PHP and I would appreciate if you pour in your suggestions and ideas in this.
Please help. Thanks.
Amy.