<?
$count = 0;

if(!empty($searchurl))
{
$searchurl = str_replace("%2E",".",$searchurl);

$filename = "http://www..com/search?sourceid=navclient&".
"ie=UTF-8&q=%3A$searchurl";

$file = fopen($filename, "r");
if (!$file)
{
echo "<p>Unable to open remote file $filename.
";
}
else
{
while (!feof($file))
{
$var = fgets($file, 1024);

if(eregi("of about <b>(.*)</b> from",$var,$out))
{
$out[1] = strtolower(strip_tags($out[1]));

$count = $out[1];

break;
}
}
fclose($file);
}

if($count)
{
$result = "The $searchurl has $count pages listed";
}
else
{
$result = "The $searchurl is not spidered";
}
}
?>

kaynak: ordan burdan

Tags: , , , , , ,
Php - Google Da Sitenizin Kaç Sayfasının Indexlendiğini Bulmak (scripti, nasıl, nedir?) konusu
Benzer yazılar:
    Benzer yazı yok