I would double check all the headers and parameters that you're sending. That 
said, I would absolutely not discount the possibility that Google is 
intentionally returning different results based on the user-agent string that 
you're sending in an effort to deter SEO and other abusive behaviors.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Jun 7, 2011, at 6:51 AM, Tony wrote:

> Hi everyone,
> 
> I've pass the last 3 hours trying to udnerstand why does the following
> url : 
> http://ajax.googleapis.com/ajax/services/search/web?v=1.0&q=Hotel%20Saint%20Petersbourg%20Paris
> display differents results depending if it file_get_contents via php
> and if is access directly from a Browser.
> 
> The $result->responseData->results is completly different (differents
> site or same site with differents position).
> 
> I'm guessing it is because of some weird language or country that
> Google would auto set if I access from one of these two way. So I've
> found the argmuent gl and lr that can be set, but they don't change at
> all the problem.
> 
> If anybody has any idea, it would be great... I'ld like to have a way
> to have the real result from google.
> 
> Thanks in advanced
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to