收录结果如下:
批量检测对方是否去掉了你的友情链接、查出对方的百度GG收录数以及PR值
使用方法很简单,两步走:
1.填写自己的网址
2.打开自己的网页,将所有友情链接直接copy到“友情网址”
function fmatUrl($url)
{
$s = strtolower(trim($url));
$s = str_replace("http://","",$s);
$mowei = substr($s, -1) ;
if($mowei=="/")$s = substr($s, 0,$s.length-1) ;
return $s;
}
if($action=="chk"){
echo "
".$msite." 友情链接检测结果如下:
";
$imgStr = "

";
echo "\r\n
\r\n";
echo "\r\n";
echo " | 序号 | \r\n";
echo " 站名 | \r\n";
echo " 网址 | \r\n";
echo " 含有本站 | \r\n";
echo " 百度收录 | \r\n";
echo " 百度快照 | \r\n";
echo " 谷歌收录 | \r\n";
echo " PR值 | \r\n";
echo "
\r\n";
$strSource = stripslashes($fsite);
preg_match_all('/(.+?)<\/a.*?>/sim', $strSource, $strResult, PREG_PATTERN_ORDER);
$a = "";
$allfurl = "";
for($i = 0; $i < count($strResult[1]); $i++)
{
//printf("%d href=(%s) title=(%s) \n", $i, $strResult[1][$i], $strResult[2][$i]);
//printf(($i+1)."、".$strResult[2][$i].fmatUrl($strResult[1][$i])."
");
printf("\r\n");
printf("| ".($i+1)." | \r\n");
printf("".$strResult[2][$i]." | \r\n");
printf("".fmatUrl($strResult[1][$i])." | \r\n");
printf("$imgStr | \r\n");
printf("$imgStr | \r\n");
printf("$imgStr | \r\n");
printf("$imgStr | \r\n");
printf("$imgStr | \r\n");
printf("
\r\n");
if($allfurl=="")
$allfurl = fmatUrl($strResult[1][$i]);
else
$allfurl .= "|".fmatUrl($strResult[1][$i]);
}
if(count($strResult[1])>=1){
printf("\r\n");
}
}
?>