Jump to content

msn,yahoo backlink script not working


beboo002

Recommended Posts

hello all

 

<?php

$link = "http://myvacation.co.uk";

function beboo_yahoo($uri) {
$uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri));
$url = 'http://search.yahoo.com/search?p=links:http://'.$uri.'&bwm=p&bwms=p&fr2=seo-rd-se';
$v = file_get_contents($url);
preg_match('/of about \<strong\>(.*?) from\<\/strong\>/si',$v,$r);
return ($r[1]) ? $r[1] : '0';
}

function beboo_msn($uri) {
$uri = trim(eregi_replace('http://', '', $uri)); $uri = trim(eregi_replace('http', '', $uri));
//$url = 'http://search.live.com/results.aspx?q='.$uri.'&go=&form=QBRE';
$url = 'http://search.live.com/results.aspx?q=link:'.$uri.'';
$v = file_get_contents($url);
preg_match('/1 of\<strong\>(.*?) \<\/strong\>/si',$v,$r);
return ($r[1]) ? $r[1] : '0';
}
echo "<strong>Yahoo Backlinks:</strong> " . beboo_yahoo($link) . "<br />";
echo "<strong>MSN Backlinks:</strong> " . beboo_msn($link) . "<br />";
?>

 

cont find actuall back link to this code

 

thanks & regard

Beboo

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/108335-msnyahoo-backlink-script-not-working/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.