龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > php编程 >

PHP通过站长站获取百度权重

时间:2014-07-22 14:51来源: 作者: 点击:
分享到:
原文: a href=http://jinzhe.net/content/technology/server/php-baidu-quanzhong.html rel=nofollowhttp://jinzhe.net/content/technology/server/php-baidu-quanzhong.html/a
原文: http://jinzhe.net/content/technology/server/php-baidu-quanzhong.html
function br($s){
	$baidu="http://mytool.chinaz.com/baidusort.aspx?host=".$s;
	$site=file_get_contents($baidu);
	preg_match("/<font color=\"\">(.*)<\/font>/i",$site,$count);
	return $count[1][0];
}
$br=br("http://yckit.com");
echo $br;
精彩图集

赞助商链接