<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_62543"> 通过站长站获取网站百度权重的php代码 <div class="blockcode"> <div id="code_qmt"><ol> <li>function br($s){</li> <li> $baidu="http://mytool.chinaz.com/baidusort.aspx?host=".$s;</li> <li> $site=file_get_contents($baidu);</li> <li> preg_match("/<font color="">(.*)</font>/i",$site,$count);</li> <li> return $count[1][0];</li> <li>}</li> <li>$br=br("http://xxx.com");</li> <li>echo $br;</li> </ol></div> <em onclick="copycode($('code_qmt'));">复制代码</em> </div> <br> </td></tr></table> <div class="ptg mbm mtn"> 웹마스터 스테이션, PHP</div> <div id="comment_62543" class="cm"> </div> <div id="post_rate_div_62543"></div> <br><br>