php file_get_content /curl no response

158 views Asked by At

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.

0

There are 0 answers