finger.php %s [%s]", $d, $text); } return $ret; } function finger($domain) { $fp = fsockopen('finger.nic.at', 79); $domain .= "\n"; fputs($fp, $domain, strlen($domain)); $text = fgets($fp); fclose($fp); if (preg_match ('/NO domain data/', $text)) { return 1; } else { return 0; } } sajax_init(); // $sajax_debug_mode = 1; sajax_export("get_domain"); sajax_handle_client_request(); ?> finger Domain: