Get the PHP code of website Baidu weight through the webmaster station

WBOY
Release: 2016-07-25 08:44:26
Original
2070 people have browsed it
Get the php code of website Baidu weight through the webmaster station
  1. function br($s){
  2. $baidu="http://mytool.chinaz.com/baidusort.aspx?host=".$s;
  3. $ site=file_get_contents($baidu);
  4. preg_match("/(.*)/i",$site,$count);
  5. return $count[1][ 0];
  6. }
  7. $br=br("http://xxx.com");
  8. echo $br;
Copy code

Webmaster Station, PHP


source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!