file_get_contents(): php_network_getaddresses: getaddrinfo
Posted: Sun Aug 08, 2010 1:28 pm
Hi people in trying to run a
I get the errors
Code: Select all
echo file_get_contents("http://www.example.com");Now this was working for a while now before and its only by "chance" that I stumbled upon this error. Someone said its a DNS error but is the DNS Error on my scripts part? my Host part? or ISP part? What could it be? What does it mean and How can it be resolved?Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: No address associated with hostname
Warning: file_get_contents(http://www.example.com): failed to open stream: Operation timed out3