• 13-01-2015, 14:05:12
    #10
    Son satıra } koyar mısın?
  • 13-01-2015, 16:54:35
    #11
    Üyeliği durduruldu
    soulmy adlı üyeden alıntı: mesajı görüntüle
    Son satıra } koyar mısın?
    <?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;  
    }}    
    
    ?>
    Bu şekildemi hocam ?
  • 13-01-2015, 16:56:26
    #12
    Evet.
  • 13-01-2015, 17:11:20
    #13
    Üyeliği durduruldu
    soulmy adlı üyeden alıntı: mesajı görüntüle
    Evet.
    Israrla Bu Hatayı
    /analiz/google.class.php on line 3
    Vermeye Devam Ediyor.
  • 13-01-2015, 17:22:26
    #14
    Alıntı
    functiongetResult bunu function getResult bu şekilde,
    functiongetIndex bunu function getIndex bu şekilde,
    functiongetImages bunu function getImages bu şekilde,
    functiongetBacklink bunu function getBacklink bu şekilde değiştirir misin?
    bu dediğimi yapmadınız mı?
  • 13-01-2015, 17:30:51
    #15
    Üyeliği durduruldu
    soulmy adlı üyeden alıntı: mesajı görüntüle
    bu dediğimi yapmadınız mı?
    Evet hocam.