PHP通过站长站获取百度权重
原文: 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;
精彩图集
精彩文章