通过站长站获取网站百度权重的PHP代码

2015-03-27 0 741
通过站长站获取网站百度权重的PHP代码

通过站长站获取网站百度权重的PHP代码

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://xxx.com");
echo $br;

遇见资源网 php 通过站长站获取网站百度权重的PHP代码 http://www.ox520.com/7530.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务