soulmy adlı üyeden alıntı: mesajı görüntüle
<?php

include "google.class.php";

$google = new google();

$url = addslashes(trim($_POST['url']));

$sonuc = @$google->getIndex('site:'.$url.'');

if($sonuc){echo $sonuc;}else{echo '0';}

?>
google-index.php dosyası için bu şekilde. Diğerlerini de aynı mantıkla düzeltmelisin.
Hocam ben diğerlerini halettim yanlız alt kısımdaki google-class.php'de veren kod hatası ile karşı karşıyayım birde değerleri göstermiyor alexa üle sırası aleza dünya sırası vs vs hepsini çözdüm bir bu google-class.php kaldı
google-backlink.php on line 3
google-class.php
<?php 
class google{ 
functiongetResult($kelime,$yer){ 
$url="http://ajax.googleapis.com/ajax/services/search/".$yer."&q=".urlencode($kelime)."&rsz=large&hl=tr"; 
$ch=curl_init(); 
curl_setopt($ch,CURLOPT_URL,$url); 
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1); 
curl_setopt($ch,CURLOPT_REFERER,"http://www.ayazoglu.org/"); 
$cikti=curl_exec($ch); 
curl_close($ch); 
return$json=json_decode($cikti); 
} 
functiongetIndex($kelime){ 
$yer='web?v=1.0'; 
$json=$this->getResult($kelime,$yer); 
return$json->responseData->cursor->resultCount; 
} 
functiongetImages($kelime){ 
$yer='images?v=1.0'; 
$json=$this->getResult($kelime,$yer); 
return$json->responseData->cursor->estimatedResultCount; 
} 

functiongetBacklink($kelime){ 
$yer='web?v=1.0'; 
$json = $this->getResult($kelime,$yer); 
return $json->responseData->cursor->resultCount; 
} 

?>
buyurun koduda veriyimde bir bakınız.