true, // return web page
CURLOPT_HEADER => false, // return headers
CURLOPT_FOLLOWLOCATION => true, // follow redirects
CURLOPT_ENCODING => “”, // handle all encodings
CURLOPT_USERAGENT => “spider”, // who am i
CURLOPT_AUTOREFERER => true, // set referer on redirect
CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect
CURLOPT_TIMEOUT => 120, // timeout on response
CURLOPT_MAXREDIRS => 10, // stop after 10 redirects
);
$ch = curl_init( $url );
curl_setopt_array( $ch, $options );
$content = curl_exec( $ch );
$err = curl_errno( $ch );
$errmsg = curl_error( $ch );
$header = curl_getinfo( $ch );
curl_close( $ch );
$str = $content ;
$burl = preg_replace(‘#?.*#’,'/’,$header["url"]);
$str=preg_replace(‘#(href|src)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”Uq21q1s23d343$2$3′,$str);
$str=str_replace(“Uq21q1s23d343″,$burl,$str);
// $str=preg_replace(‘#(a href)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”qazsw1′,$str);
// $str=str_replace(‘a href=”http:’,'a href=”‘ . $url . ‘&’,$str);
// $str = $content ;
echo ‘
‘;
echo $str;
//$header['errno'] = $err;
// $header['errmsg'] = $errmsg;
//$header['content'] = $content;
// print($header[0]);
return $header;
}
get_web_page(“http://prig9951.NOVABOOKS.hop.clickbank.net/?tid=aff0001″);
?>
true, // return web page
CURLOPT_HEADER => false, // return headers
CURLOPT_FOLLOWLOCATION => true, // follow redirects
CURLOPT_ENCODING => “”, // handle all encodings
CURLOPT_USERAGENT => “spider”, // who am i
CURLOPT_AUTOREFERER => true, // set referer on redirect
CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect
CURLOPT_TIMEOUT => 120, // timeout on response
CURLOPT_MAXREDIRS => 10, // stop after 10 redirects
);
$ch = curl_init( $url );
curl_setopt_array( $ch, $options );
$content = curl_exec( $ch );
$err = curl_errno( $ch );
$errmsg = curl_error( $ch );
$header = curl_getinfo( $ch );
curl_close( $ch );
$str = $content ;
$burl = preg_replace(‘#?.*#’,'/’,$header["url"]);
$str=preg_replace(‘#(href|src)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”Uq21q1s23d343$2$3′,$str);
$str=str_replace(“Uq21q1s23d343″,$burl,$str);
// $str=preg_replace(‘#(a href)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”qazsw1′,$str);
// $str=str_replace(‘a href=”http:’,'a href=”‘ . $url . ‘&’,$str);
// $str = $content ;
echo ‘
‘;
echo $str;
//$header['errno'] = $err;
// $header['errmsg'] = $errmsg;
//$header['content'] = $content;
// print($header[0]);
return $header;
}
get_web_page(“http://prig9951.KENDY37.hop.clickbank.net/?tid=aff0001″);
?>
true, // return web page
CURLOPT_HEADER => false, // return headers
CURLOPT_FOLLOWLOCATION => true, // follow redirects
CURLOPT_ENCODING => “”, // handle all encodings
CURLOPT_USERAGENT => “spider”, // who am i
CURLOPT_AUTOREFERER => true, // set referer on redirect
CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect
CURLOPT_TIMEOUT => 120, // timeout on response
CURLOPT_MAXREDIRS => 10, // stop after 10 redirects
);
$ch = curl_init( $url );
curl_setopt_array( $ch, $options );
$content = curl_exec( $ch );
$err = curl_errno( $ch );
$errmsg = curl_error( $ch );
$header = curl_getinfo( $ch );
curl_close( $ch );
$str = $content ;
$burl = preg_replace(‘#?.*#’,'/’,$header["url"]);
$str=preg_replace(‘#(href|src)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”Uq21q1s23d343$2$3′,$str);
$str=str_replace(“Uq21q1s23d343″,$burl,$str);
// $str=preg_replace(‘#(a href)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”qazsw1′,$str);
// $str=str_replace(‘a href=”http:’,'a href=”‘ . $url . ‘&’,$str);
// $str = $content ;
echo ‘
‘;
echo $str;
//$header['errno'] = $err;
// $header['errmsg'] = $errmsg;
//$header['content'] = $content;
// print($header[0]);
return $header;
}
get_web_page(“http://prig9951.PIANOCOACH.hop.clickbank.net/?tid=aff0001″);
?>
true, // return web page
CURLOPT_HEADER => false, // return headers
CURLOPT_FOLLOWLOCATION => true, // follow redirects
CURLOPT_ENCODING => “”, // handle all encodings
CURLOPT_USERAGENT => “spider”, // who am i
CURLOPT_AUTOREFERER => true, // set referer on redirect
CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect
CURLOPT_TIMEOUT => 120, // timeout on response
CURLOPT_MAXREDIRS => 10, // stop after 10 redirects
);
$ch = curl_init( $url );
curl_setopt_array( $ch, $options );
$content = curl_exec( $ch );
$err = curl_errno( $ch );
$errmsg = curl_error( $ch );
$header = curl_getinfo( $ch );
curl_close( $ch );
$str = $content ;
$burl = preg_replace(‘#?.*#’,'/’,$header["url"]);
$str=preg_replace(‘#(href|src)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”Uq21q1s23d343$2$3′,$str);
$str=str_replace(“Uq21q1s23d343″,$burl,$str);
// $str=preg_replace(‘#(a href)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”qazsw1′,$str);
// $str=str_replace(‘a href=”http:’,'a href=”‘ . $url . ‘&’,$str);
// $str = $content ;
echo ‘
‘;
echo $str;
//$header['errno'] = $err;
// $header['errmsg'] = $errmsg;
//$header['content'] = $content;
// print($header[0]);
return $header;
}
get_web_page(“http://prig9951.LEARNBREAK.hop.clickbank.net/?tid=aff0001″);
?>
true, // return web page
CURLOPT_HEADER => false, // return headers
CURLOPT_FOLLOWLOCATION => true, // follow redirects
CURLOPT_ENCODING => “”, // handle all encodings
CURLOPT_USERAGENT => “spider”, // who am i
CURLOPT_AUTOREFERER => true, // set referer on redirect
CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect
CURLOPT_TIMEOUT => 120, // timeout on response
CURLOPT_MAXREDIRS => 10, // stop after 10 redirects
);
$ch = curl_init( $url );
curl_setopt_array( $ch, $options );
$content = curl_exec( $ch );
$err = curl_errno( $ch );
$errmsg = curl_error( $ch );
$header = curl_getinfo( $ch );
curl_close( $ch );
$str = $content ;
$burl = preg_replace(‘#?.*#’,'/’,$header["url"]);
$str=preg_replace(‘#(href|src)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”Uq21q1s23d343$2$3′,$str);
$str=str_replace(“Uq21q1s23d343″,$burl,$str);
// $str=preg_replace(‘#(a href)=”([^:"]*)(“|(?:(?:%20|s|+)[^"]*”))#’,'$1=”qazsw1′,$str);
// $str=str_replace(‘a href=”http:’,'a href=”‘ . $url . ‘&’,$str);
// $str = $content ;
echo ‘
‘;
echo $str;
//$header['errno'] = $err;
// $header['errmsg'] = $errmsg;
//$header['content'] = $content;
// print($header[0]);
return $header;
}
get_web_page(“http://prig9951.UNLKGTAR.hop.clickbank.net/?tid=aff0001″);
?>