时时商务社区

标题: php获取域名的google收录示例 [打印本页]

作者: 阿情    时间: 2018-2-14 05:59

            [U]复制代码[/U] 代码如下:
function get_index($domain){
$url="http://www.google.com/search?source=hp&biw=1440&bih=762&q=site%3A$domain&aq=f&aqi=g10&aql=&oq=";
$html=file_get_contents($url);
preg_match('/[\S\s].*/Ui', $html,$index);
for($i=0;$i
            
            
您可能感兴趣的文章:
  • Ping服务的php实现方法,让网站快速被收录
  • php实现查询百度google收录情况(示例代码)
  • php中通过curl检测页面是否被百度收录
  • php检测网页是否被百度收录的函数代码
  • php使用curl检测网页是否被百度收录的示例分享
  • php实现检查文章是否被百度收录
  • php获取百度收录、百度热词及百度快照的方法
  • php 批量查询搜狗sogou代码分享
  • php检查页面是否被百度收录
  • PHP简单获取网站百度搜索和搜狗搜索收录量的方法
            




    欢迎光临 时时商务社区 (http://bbs.4435.cn/) Powered by Discuz! X3.2