hi, Getting this error on my localhost, But the same code is running on my server. it was working fine till now on my localhost too but suddenly today afternoon the error started coming up.
this is how my code looks like in php. $base_url = "http://" . MAPS_HOST . "/maps/geo?output=xml" . "&key=" . MAP_KEY; $request_url = $base_url."&q=".urlencode($address); $contents = ''; $handle=""; $handle = fopen($request_url, "rb"); The error comes at last line i.e. $handle = fopen($request_url, "rb"); and this is a error Message: fopen(http://maps.google.com/maps/geo? output=xml&key=*********&q=Agoura+Hills%2C+California%2C+USA) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden after googling I came to know that this problem may be coming from google they must be rejecting the request, but when I'm putting this URL on my FF browser it returns me xml data. but PHP is giving me error. thanks
-- 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.
