hi, appreciated if anyone could solve this :) have registered api key for http://go123.puslapiai.lt/
created test page "http://go123.puslapiai.lt/test.php" <?php $xml = simplexml_load_file("http://maps.google.com/maps/geo? q=Vilnius,LT&sensor=false&key=ABQIAAAA2n_-4kV19Fd3yGGgfgR7dxRhTXPlaI90tqdYd8XTe- l0P4kS8BSYBDEUKa6ptY3KQIwl63Wg-SAZEA&output=xml") or die("url not loading"); $status = $xml->Response->Status->code; if (strcmp($status, "200") == 0) { print " Successful geocode"; } ?> still getting errors: Warning: simplexml_load_file(http://maps.google.com/maps/geo? q=Vilnius,LT&sensor=false&key=ABQIAAAA2n_-4kV19Fd3yGGgfgR7dxRhTXPlaI90tqdYd8XTe- l0P4kS8BSYBDEUKa6ptY3KQIwl63Wg-SAZEA&output=xml) [function.simplexml- load-file]: failed to open stream: Connection refused in /home/go123/ public_html/test.php on line 2 Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://maps.google.com/maps/ geo? q=Vilnius,LT&sensor=false&key=ABQIAAAA2n_-4kV19Fd3yGGgfgR7dxRhTXPlaI90tqdYd8XTe- l0P4kS8BSYBDEUKa6ptY3KQIwl63Wg-SAZEA&output=xml" in /home/go123/ public_html/test.php on line 2 url not loading Tried to change sensor to true, no line breaks present in url, have checked the hostname and the key carefully. Any ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
