1

i am trying to use googles geoloacating api with php: file_get_content.

This works fine on my testsystem but it wont work live. The code is excatly the same and the servers are also the same. I got some errormails like:

file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known

allow_url_fopen is available and curl is also available.

I alsso tryed the same with curl but the result was the same live didnt work.

Hope some of you can give me some tips.

Soner Gönül
  • 97,193
  • 102
  • 206
  • 364

0 Answers0