一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

php 读取google输出到本地

时间:2009-04-22 编辑:简简单单 来源:一聚教程网

$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("

","