D
D
Dima2017-01-21 15:23:36
PHP
Dima, 2017-01-21 15:23:36

Why doesn't file_get_contents work anymore?

Request - file_get_contents(" https://api.vk.com/method/users.get?v=5.60&user_id... ");
Gives errors -
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/ifitqsun/data/www/fotobattlenet.h1n.ru/index.php on line 22
Warning: file_get_contents( http://api.vk.com/method/users.get?v=5.60&user_id=... [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/ifitqsun/data/www/fotobattlenet.h1n.ru/index.php on line 22
Everything worked fine before.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Bobkov, 2017-01-21
Gorichey @azabotok

Ask the hoster, maybe they turned it off.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question