title: Check Index Pages in Google
body: <p>I want to check status of multiple sites of Index Pages in Google  for thst i am trying this script but its not giving correct result </p>
  
  <pre><code>function getGoogleCount($domain) 
  {
    $content = file_get_contents('http://ajax.googleapis.com/ajax/services/'.'search/web?v=1.0&amp;filter=0&amp;q=site:' . urlencode($domain));
    $data = json_decode($content);
    $result = intval($data-&gt;responseData-&gt;cursor-&gt;estimatedResultCount);
    return $result;
  }
  
  echo getGoogleCount('printerdriversdownload.com');
  </code></pre>
  
  <p>I am getting result 9750 but if i am checking with site:printerdriversdownload.com in google i am getting 67,300 </p>
  
  <p>Please help</p>