如何编写PHP代码在站长站查询网站百度权重?

更新于
2026-09-27 21:32:23
0阅读来源:SEO问题
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计98个文字,预计阅读时间需要1分钟。

如何编写PHP代码在站长站查询网站百度权重?

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

phpfunction br($s) { $baidu=http://mytool.chinaz.com/baidusort.aspx?host=; $site=file_get_contents($baidu . $s); preg_match(/font color=\\(.*?)\/i, $site, $count); return $count[1][0];}

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

function br($s){ $baidu="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("xxx.com"); echo $br;

如何编写PHP代码在站长站查询网站百度权重?
标签:PHP

本文共计98个文字,预计阅读时间需要1分钟。

如何编写PHP代码在站长站查询网站百度权重?

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

phpfunction br($s) { $baidu=http://mytool.chinaz.com/baidusort.aspx?host=; $site=file_get_contents($baidu . $s); preg_match(/font color=\\(.*?)\/i, $site, $count); return $count[1][0];}

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

function br($s){ $baidu="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("xxx.com"); echo $br;

如何编写PHP代码在站长站查询网站百度权重?
标签:PHP