Hi,
I am trying to get all the contents of a website into a new one
Say from mysite.com to mynewsite.com
I am succeeded taking all the html content by using normal fpoen command for each files. i used the code as
$file_name = "http://www.mysite/pagecontent.php";
$handle = @fopen($file_name, "r");
if ($handle) {
$buffer = "";
while (!feof($handle)) {
$buffer.= fgets($handle, 4096);
}
fclose($handle);
}
And now i need to get all the images downloaded from my first site
how can i do this
Does cURL has any function to gather all images from the specified location?
eg. from http://www.mysite.com/pictures/picture34.jpg
Because its volume is too hige and stored in different location its tedious to download each file manually
Please help
Regards
Anees