您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

php 读取google输出到本地

2024/3/31 13:22:36发布8次查看
提供一款查询收录时常用的google正则表达式功能哦,我们是取得内容然后再正则出我们想要的内容,再在本地输出。
$theurl=http://www.google.cn/search?q=+site:.$q.&num=20&complete=1&hl=zh-cn&lr=&newwindow=1&as_qdr=.$t.&start=.$p.&sa=n;
 $thethie=getpage($theurl);
}
 $thebody=getcontent($thethie,
,
    $thebody=iconv( utf-8, gb2312//ignore , $thebody);
 $thebody=str_replace(,
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product