Here we obtain data from the data interface of the WAN or new network, and then output it through the simple text processing of PHP.
Copy CodeThe code is as follows:
$domain = $_get[' Q '];
Preg_match ("
Is ", @file_get_contents (' http://www.xinnet.cn/Modules/agent/serv/pages/domain_whois.jsp?domainNameWhois= '. $ Domain. ' nocode=nocode '), $whois);
echo $whois [1];
?>
Do here, may have some friends to
Due to the historical reasons for the Internet, Apin is responsible for the overall network IP planning as well as the North American region also has some of Africa's IP allocation management, and accordingly, whois.apin.net is the IP whois root server, the standard IP whois query method is , first query the whois.apin.net for which area an IP belongs to, and then query the
bytes. If it fails, it returns false.
PHP $file fopen ("Test.txt", "R"); while feof ($file)) { echofgets($file). "; } fclose ($file); ? >
The FGETSS () function reads a row from an open file and filters out HTML and PHP tags. As with Fgets (), the difference is that FGETSS attempts to remove any HTML and PHP markup from the text that is being read.
FGETSS (file,length,tags) can use the optional third parameter tags to
According to the 2014 ICANN regulations, all in the GoDaddy domain name registrars (including other registrars, of course) new registration, new transfer, the new transfer of domain names require WHOIS mailbox activation verification. After our new domain name, new transfer, new transfer domain name, the registrar will send a confirmation email to the WHOIS infor
){result = Resources.Whois.SocketError;return result;}Ns. Close ();Client. Close (); return result;}}}
I put the WHOIS server file in a text file and put it in the
App_datawhoisserver.txt, it's inside. This is when the Whois class is instantiated. It will automatically load the content.The key part is the lookup method, where lookup allows for
Previously in the PHP host domain name program used by a WHOIS check code to determine whether the domain name being queried is registered, the function includes most of the domain name suffix, will be based on the suffix of the different connections to different query server, previously can use, time relationship, I am not currently testing those query URLs are still available, if not, you need to find inf
Introductionquite often you want to know who owns a given domain. To obtain the "registry information", you go to the respective registry and start a so called WHOIS query (lookup). The trick is this have to know which Registry is responsible for which TLD (top level Domain).
The database is the so called WHOIS databas
In the previous PHP host domain name program used in a WHOIS check code, used to determine whether the queried domain name is registered, the function contains most of the domain name suffix, will be based on the suffix of different connections to different query servers, previously able to use, time relations, I do not now test those query Web site can still be used, if not, you need to find information on
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.