作者:灵123456妞子 | 来源:互联网 | 2018-07-16 20:32
ec(2);$ktrim($_GET[k]);$utrim($_GET[u]);$arrKeywordsexplode(",",$k);for($ii0;$ii<count($arrKeywords);$ii++){$outputstr; for($i0;$i<10;$i++){ &nbs
$k=trim($_GET['k']);
$u=trim($_GET['u']);
$arrKeywords=explode(",",$k);
for($ii=0;$ii
$outputstr='';
for($i=0;$i<10;$i++){
$sourcecode= @file_get_contents("http://www.google.cn/search?num=100&q=".$arrKeywords[$ii]);
if($sourcecode){
break;
}
}
preg_match_all('/
(.*?)(.*?)//', $sourcecode, $urlmatches);
for($j=0;$j
if(strstr($urlmatches[2][$j],$u)){
$outputstr.=1+$j.',';
}
}
if($outputstr<>''){
echo '';
}else{
echo '';
}
}