fopen(); deciding if going for the IP or domain.

From: Date: Sun, 30 Jun 2002 17:30:22 +0000
Subject: fopen(); deciding if going for the IP or domain.
Groups: php.general 
Request: Send a blank email to php-general+get-104585@lists.php.net to get a copy of this message
Hello, Is there anyway I can do fopen to try to open a connection to a domain name, if it cant try opening it to the IP? For some weird reason today a domain name wont resolve and Iam getting this error: Warning: php_network_getaddresses: getaddrinfo failed: Name or service not known Thanks.

« previous php.general (#104585) next »