The script needs to read from this file, then fetches all content from that URL, (JUST THAT PAGE FROM THAT URL ONLY, NOT THE WHOLE SITE) including images/css and save all of that into a directory, named by the ID of that URL
so the script fetches the first URL, all images for that page, and stores it in a directory call "123".
I think you should use wget to do this, but if you have a better way, go for it.
now, in the end, what I want to do is be able to go to my website, www.mysite.com/123/ and it will display the page of that URL, but hosted on my server, with wget, if you fetch a URL and the file name is list.php?id=1, then it'll save that file with that same filename, so when you go to www.mysite.com/123/ it will display the directory's files, so what the script need to do is after it saved all the files to the directory, it need to rename the filename of the page to "index.html", for example, it downloads the URL: http://site2.com/list.php?id=1 and saves it into 124, then it needs to rename list.php?id=1 to index.html
Not a big project, but a little tricky.
if you can do it, please email me tuan AT aplusmedia.com with your price.