> My point was, does it _really_ look like that when hosted at your > server. > The error messages you posted don't look like that; but maybe you > edited them (in which case there wasn't much point posting them?) > > Youdon't seem to be urlencoding your data?
Warning: simplexml_load_file(http://maps.google.com/maps/geo? q=59969+Hallenberg +DE&output=xml&oe=utf8&sensor=false&key=ABQIAAAAQJJLmMxHVLr9eF7Fv4FqahT3NOxqegx8ZFIXr9vaW9XdHQxz6BRZvls1m7ve4uIxMkuDXH8MykyDmw) [function.simplexml-load-file]: failed to open stream: Connection timed out in /var/www/web320/html/google.php on line 17 Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://maps.google.com/maps/ geo?q=59969+Hallenberg +DE&output=xml&oe=utf8&sensor=false&key=ABQIAAAAQJJLmMxHVLr9eF7Fv4FqahT3NOxqegx8ZFIXr9vaW9XdHQxz6BRZvls1m7ve4uIxMkuDXH8MykyDmw" in /var/www/web320/html/google.php on line 17 Thats the complete error. Sorry, edited because I thought it doesn't really matter because I'm sure it is not an encoding based error. http_build_query does the urlencoding, moreover in my test-request there isn't much to encode. 5 mins ago I tested my code on an other webserver and it worked. I'll contact my provider again and check if they can do anything. I tried http://maps.google.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&sensor=false because with that I can make the request it without an api-key, didn't help. Worked only on the other webserver. -- 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.
