>23)&0x1ff)|$result }
return sprintf(8%x,$result);
}
function get_domain($url){ //获取主域名
//$url = http://www.uncletoo.com/plug/tags/?tag=php;
preg_match('@^(?:http://)?([^/]+)@i', $url, $matches);
return $matches[1];
//echo $host;
}
function google_pr($url){
try
{
$url=get_domain($url); //获取主域名
//echo $url;
$pr_ch=app_hash_url($url);
$url='http://toolbarqueries.google.com/tbr?client=navclient-auto&features=rank&q=info:'.$url.'&ch='.$pr_ch;
$prtext=file_get_contents($url);
if($prtext!=){
$pr=explode(:,$prtext);
return $pr[2];
}else{
return !;
}
return !;
}
//捕获异常
catch(exception $e)
{
return !;
}
}
echo baidu--.baidu_br('http://www.hf97.com/plus/av.php');
echo sogo--.sogo('http://www.hf97.com/plus/av.php');
echo google--.google_pr('http://www.hf97.com/plus/av.php');
?> 23)&0x1ff)|$result<
