Hai,
I had scrapped the website with the help of code in the following link
http://www.daniweb.com/code/snippet293.html
When i tried to scrap the following web site,it is keep on refereshing,
Kindly help me to solve this issue.
Thanks
ravi
<?php
require_once(dirname(__FILE__).'/class_http.php');
$h = new http();
//$h->ttl = 1000;
if (!$h->fetch("https://secure.classmates.com/profile/fullLogin.html","daily")) {
echo "<h2>There is a problem with the http request!</h2>";
echo $h->log;
exit();
}
echo "Status: ".$h->status;
echo "<pre>".$h->header."</pre>";
echo $h->body;
?>