Use this function to display how many backlinks a given website has on Yahoo.
This refers to the number of links that other websites (indexed by Yahoo) have outgoing.
This number will vary from one datacenter to another or from time to time due to Yahoo's updates on links and their data.
function yahoo_backs($url){
$site = fopen('http://siteexplorer.search.yahoo.com/search?p='.urlencode($url).'&bwm=i&bwmf=a&bwms=p','r');
while($cont = fread($site,1024657)){
$total .= $cont;
}
fclose($site);
$match_expression = '/of about <strong>(.*) <\/strong>/Us';
preg_match($match_expression,$total,$matches);
return $matches[1];
}