<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_18017"> <br> <div class="blockcode"> <div id="code_Y5N"><ol> <li>関数 get_index($domain){</li> <li> $index=array();</li> <li> $url="http://www.google.com/search?source=hp&biw=1440&bih=762&q=site%3A$domain&aq= f&aqi=g10&aql=&oq=";</li> <li> $html=file_get_contents($url);</li> <li> preg_match('/<div id=resultStats>[Ss].*<nobr>/Ui', $html,$index); </li> <li> for($i=0;$i if(is_numeric($index['0'][$i])){</li> <li> $count. =$index['0'][$i];</li> <li> }</li> <li> }</li> <li> return $count;</li> <li> }</li> </ol></div> <em onclick="copycode($('code_Y5N'));">复制代</em> </div> </td></tr></table> <div id="comment_18017" class="cm"> </div> <div id="post_rate_div_18017"></div> <br><br>