hi experts, when i am using file_get_contents function to get the url in to string i am getting the following error. how can i solve this in my localhost ?
$contents = file_get_contents("http://google.com");
file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known.
thanks.