The domain name query code is published. Domain name query code announcement? The motto of the php network technology supervisor is "three people," which must be my teacher. The code www.ctohome.com can be said to be very SMART. I modified the small domain name query code and published it.
// The motto of the network technology supervisor: the trio must have our teacher. Http://www.ctohome.com
// This code can be said to be very SMART. I modified a small part to make it easier to use.
$ Moreinfolist = array (// storage WHOIS query host connection method
'At' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Au '=> 'Www .aunic.net/cgi-bin/whois.aunic? ',
'Bm '=> 'Www. bermudanic. bm/cgi-bin/BermudaNIC/rwhois_query_get.pl? Query_text = ',
'Ch' => 'Www. switch. ch/cgi-bin/domain/search_domain? Keyword = ',
'Com '=> 'Www .networksolutions.com/cgi-bin/whois/whois /? STRING = ',
'Cz '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'De' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Dk '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'Edu' => 'Www .networksolutions.com/cgi-bin/whois/whois /? STRING = ',
'Els' => 'Www. nic. es/whois/index. php? Type = Dominios & key = ',
'Fi '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'Fo' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Fr '=> 'harmonic. nic. fr/cgi-bin/harmonic. pl? Annu_Suffixe = & Annu_Action = Rechercher & Annu_Automaton_State = 17 & Annu_Motif = ',
'Gl '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'G' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Gov '=> 'Www .nic.gov/cgi-bin/whois? S = nic.gov ',
'Gr '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'Hu' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Id' => 'whois .idnic.net. id/cgi-bin/whois-cgi? User = ',
'Ie' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Il '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'Is => 'www .ripe.net/cgi-bin/whois? Query = ',
'It' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'JP '=> 'Www .nic.ad.jp/cgi-bin/whois_gw? Lang =/e & type = DOM & rule = ex & key = ',
'Lb' => 'Www .aub.edu. lb/cgi-bin/lbdr. pl? Cn = ',
'Lil' => 'Www. switch. ch/cgi-bin/domain/search_domain? Keyword = ',
'Lt '=>' www .ripe.net/cgi-bin/whois? Query = ',
'LV' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'MC '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'Mil '=> 'Www .nic.mil/cgi-bin/whois? Stype = Domains & ctype = reg & keyword = ',
'Ms' => 'Www. adamsnames. tc/whois /? Seen = y & domain = ',
'MX '=> 'Www. nic. mx/cgi/whois? ',
'Net' => 'Www .networksolutions.com/cgi-bin/whois/whois /? STRING = ',
'No' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Yz' => 'Www .domainz.net. nz/facility/namesearch/Result. asp? PrmMode = Search & DomainName = ',
'Org '=> 'Www .networksolutions.com/cgi-bin/whois/whois /? STRING = ',
'Pt' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'Ro' => 'whois. rotld. ro/cgi-bin/whois? Whois = ',
'SK' => 'Www .ripe.net/cgi-bin/whois? Query = ',
'SM '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'TC '=> 'Www. adamsnames. tc/whois /? Seen = y & domain = ',
'Tf' => 'Www. adamsnames. tc/whois /? Seen = y & domain = ',
'Th' => 'Www .thnic.net/cgi-bin/whois.pl? Server = whois.thnic.net & string = ',
'TJ '=> 'Www. nic. tj/whois. cgi? Domain ',
'Tr' => 'whois .cc.metu.edu. tr/whois/wwwwhois? Whois = ',
'UK '=> 'Www. nic. uk/cgi-bin/whois. cgi? Query = ',
'Va '=> 'Www .ripe.net/cgi-bin/whois? Query = ',
'Vg '=> 'Www. adamsnames. tc/whois /? Seen = y & domain ='
);
# Where can we get more info?
$ Moreinfo = FALSE;
For (reset ($ moreinfolist); list ($ tail, $ moreinfoname) = each ($ moreinfolist );)
If (eregi ("\. $ tail \ $", $ address) {// compare domain name suffixes
$ Moreinfo = $ moreinfoname; // terminate the loop immediately when a match exists.
Break;
}
If ($ moreinfo & $ address) {// jump to the WHOIS host
Header ('Location: http: // '. $ moreinfo. $ address );
Exit ();
}
Else {
Echo "";
}
?>
Whois tool
Explanation by the network technology director in hand.
Http://www.ctohome.com
Highlight_file ("whois. php ");
?>
Why? Php // The motto of the network technology supervisor: three people, it must have our teacher. Http://www.ctohome.com // This code can be said to be very SMART, I changed a little...