if (Isset ($xx)) {
$dodo = @file ("http://www.e9china.com/cgi-bin/comdns.pl?raw=1&lookup=OK&fqdn=". $fqdn. " &domain= ". $domain." &root= ". $root." &cdomain=2.7 ");
$i = 0;
while ($dodo [$i]) {
echo $dodo [$i];
$i + +;
}
Exit
}
?>
if (Isset ($submit)) {
if ($domain = = "") {echo "Please enter the domain name"; exit;}
$dom = @file ("http://www.e9china.com/cgi-bin/comdns.pl?cdomain=2.7&lookup=OK&domain=". $domain. " &root= ". $root);
$dom 1=substr ("$dom [13]", 19);
$dom 1=chop ($dom 1);
Switch ($dom 1) {
Case "Sorry! The domain name has been registered ":
for ($i =0; $i <32; $i + +) {#i
echo $dom [$i];
}
?>
Exit
Break
Case "Sorry! You have entered a domain name error ":
$i = 0;
while ($i <42) {
echo $dom [$i];
$i + +;
}
$i = 51;
while ($dom [$i]) {
echo $dom [$i];
$i + +;
}
Exit
Break
Case "Congratulations: the domain has not been registered and is available for registration":
?>
<title>International Domain name registration query results</title>
face= "Arial, Song" > Congratulations: the domain has not been registered, you can For registration |
|
2
The international domain name you are querying
" djdjdjdd.com " has not been registered. You can register the domain name.
You can continue to query for other available domain names.
!--? exit; break; } } ?> The above describes a domain name query from other Web site fetching information example domain name query, including the domain name query content, I hope that the PHP tutorial interested friends helpful. |