This is a PHP question about how to sent an http request, and not a Google Maps API question. If you're getting 602 responses it is because the server doen't understand what you're saying and cannot find the address.
Hint: use urlencode() on the address, and not the '+' signs for spaces. -- Marcelo - http://maps.forum.nu -- On Nov 15, 8:14 am, f3ze <[EMAIL PROTECTED]> wrote: > Uusing a browser I get 200 responses from these two: > > http://maps.google.co.nz/maps/geo?q=60+tapeka+rd,+russell,+northland,... > > http://maps.google.co.nz/maps/geo?q=kerikeri+rd,+kerikeri,+northland,... > > But getting via PHP returns a 602: > > $gg_query_result = file_get_contents("http://maps.google.co.nz/maps/ > geo?q=60+tapeka+rd,+russell,+northland, > +nz&output=csv&key=ABQIAAAAAGNZ8K1XCXT4L2hBGT3v0RQYK8a9jbuifQNkRTaHnDgUOS560BQ8c753CjzFvP0H0OJGT18WHlPDqQ"); > $gg_result = explode(',',$gg_query_result); > echo $gg_result[0]; > // gives 602 > > Any tips appreciated (I've incorporated the tips from similar > questions in this group, but I still have the problem so the new > post). > > 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 -~----------~----~----~----~------~----~------~--~---
