On Oct 16, 1:51 pm, "[email protected]" <[email protected]>
wrote:
> I've tried adding in "&sensor=true" to the end of the googlemaps query
> (not sure where else to put it) - but that still doesn't work.
>
> It throws up this error:
> **********************************************
> Warning: [function.simplexml-load-
> file]: failed to open stream: HTTP request failed! HTTP/1.0 403
> Forbidden in /home/udoschoi/public_html/geocode.php on line 38
> **********************************************

Well, you proved that the request itself is ok -- if it wasn't it
wouldn't work in a browser and you would get a 600-series error. If
simplexml_load_file() couldn't reach the outside world, you'd get a
PHP error, not an HTTP error code.

So: your request is reaching Google and being blocked for some reason,
getting a status code of 403 Forbidden. Have you been blitzing the
service recently? It looks like your server IP address has been
blacklisted. Normally that is only temporary, although "temporary"
appears to be 24 hours.

Andrew

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to