Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/web1/html/content/domain.1.php on line 135
Warning: fsockopen() [function.fsockopen]: unable to connect to Version 1.3:43 in /var/www/web1/html/content/domain.1.php on line 135
Google leist leider auch nicht hilfreich, der bringt mir nur Seite, wo der fehler auch aufgetretten ist.
Warning: fsockopen() [function.fsockopen]: unable to connect to Version 1.3:43 in /var/www/web1/html/content/domain.1.php on line 135
PHP-Code:
function do_raw($domainname, $ext)
{
global $whois_info_servers;
global $whois_servers;
global $rawoutput;
global $whois_info_servers_backup;
global $whois_avail_strings;
global $whois_server;
$rawoutput = "";
choose_info_server($domainname, $ext);
if(($ns = fsockopen($whois_server,43)) == false)
{
if(($ns = fsockopen($whois_info_servers[$ext],43)) == false)//Zeile 135
{
if(($ns = fsockopen($whois_info_servers_backup[$ext], 43)) == false)
{
return -1;
}
else
{
$whois_server = $whois_info_servers_backup[$ext];
}
}
else
{
$whois_server = $whois_info_servers[$ext];
}
}
//echo "\n<b> do_raw() : using `".$whois_server."' for whois query </b><br>";
fputs($ns, $domainname.".".$ext."\r\n");
while(!feof($ns))
{
$rawoutput .= fgets($ns, 128);
}
fclose($ns);
return $rawoutput;
}
Kommentar