subordinates. China's national Registration Authority is the Internet Information Center (CNNIC).Whois (read "Who is", not an abbreviation) is a transport protocol used to query the IP of a domain name and the owner of such information. In short, WHOIS is a database (such as the domain owner, domain name registrar) that is used to inquire about whether a domain name has been registered and the details of r
1, simplified the code. (It actually removes some of the variables that you don't need to define)
2, for the information retrieved from the InterNIC is too simple, according to InterNIC feedback in the information of WHOIS server for further inquiries. Yahoo, for example, has more detailed information on the whois.networksolutions.com.
Class Whois {
var $use _cache = 1;
var $FROM _cache=0;
var $cache _dir
1, simplified the code. (It actually removes some of the variables that you don't need to define)
2, for the information retrieved from the InterNIC is too simple, according to InterNIC feedback in the information of WHOIS server for further inquiries. Yahoo, for example, has more detailed information on the whois.networksolutions.com.
?
Class Whois {
var $use _cache = 1;
var $FROM _cache=0;
var $cache _d
Nbsp; domain name to be queried:
Www. Nbsp; TEXT = "query! "Runat =" server "/> (query only. COM /. net /. org /. CN Domain Name whois information) nbsp;
Import java.net .*;
Import java. Io .*;
Public class whois {
Public final static int default_port = 43;
Public final static string default_host = "whois.cnnic.net.cn"; // CN interface: "whois.cnnic.net.cn" COM interface: "whois.internic.net"
Public static void main (string [] ARGs ){
Inetaddress server;
Int Port = default_port;
String STR = "";
Try {
Server = inetaddress. getbyname (default_host );
} Catch (exception e ){
E. printstacktrace ();
Return
toEXAMPLES: Using the exampleSee ALSO: Another referenceoperation after the man file is openedFlip Screen:Turn back one screen: Space(space bar)Flip One screen forward:b KeyTurn back one line: Enter(enter)Turn One line forward:K KeyFind:/keyword Backward Lookup? keyword forward lookupN: NextN: PreviousQ: ExitDate usesDate + "This is%Y. %n Today is%d "UTC Green Wedge Observatory time, Prime Meridian Greenwich Mean Time (old translation GMT or Greenwich Mean Time English: gmt prime Me
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 your own, to see what the current Web site i
use Python to fragment whois information into a database
Whois server returns the WHOIS dictionary information will be very long, some domain name whois information has 2000+ byte, will return the WHOIS information to slice processing, the procedure chooses divides it into
Million web whois (using the interface for the million network to provide a legitimate interface)
Copy Code code as follows:
function Whois_hichina ($domain) {
Preg_match ("|$whois [0] = str_replace (' Friendship tip: According to the requirements of the registration Board, the expired domain name may be in the Registrar automatic renewal phase, you see the domain name due date in this que
JJX original, reprint must indicate the source
To copy code, use the forum's "copy" feature to complete
Chinaasp's domain name query to sell 1000 yuan, netizens made comments, but was Lucot a sentence (you put him packaged into components to try?) ) was blocked back. Domain name registration query (WHOIS) is it really complicated?
Domain name registration query is mainly through the WHOIS server to complet
Copy Code code as follows:
?
Class Searchdomain
{
var $domain = "";
function SetDomain ($udomain)
{
$this->domain = $udomain;
}
//
Get whois and parse the domain name status
OK is not registered
Non-null Value Expiration Time
Null value Unknown
//
function GetInfo ()
{
/*
$dinfo = Trim ($this->getwhois ());
if ($dinfo = = "") return "";
if (eregi ("No Match", $dinfo)) return "OK";
return $rs;
*/
$WL = "";
$w _server = $this
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 database and it has one distinct property:it provides us with a query interface via T CP Port 43!
Previously wrote a socket based, but often to connect different WHOIS servers, some information is not complete.
This is directly based on the Chinese webmaster Network, because the target page has JS dynamic operation, so can only use the PAM module.
Here is an introduction:
Bar each line one of the write script in the program directory of the Dns.txt, and then run the following script.
The program automatically generates a separate HTM file for ea
Websites often need to query the website's whois information. here we will introduce a whoisapi interface created using php. the method is also very simple. The following describes in detail. Here we get data from the data interface of HiChina or Xinnet, and process and output data through simple php text.
The code is as follows:
$ Domain = $ _ GET ['Q'];
Preg_match ("|
(. + ?)
| Is ", @ file_get_contents ('http: // www.xinnet.cn/Modules/a
Websites often need to query the website's whois information. here we will introduce a whoisapi interface created using php. the method is also very simple. The following describes in detail. Here we get data from the data interface of HiChina or Xinnet, and process and output data through simple php text.
The code is as follows:
$ Domain = $ _ GET ['Q'];
Preg_match ("|
(. + ?)
| Is ", @ file_get_contents ('http: // www.xinnet.cn/Modu
Last week, the chromium version library was developed with a focus on many forms-related changes and battery status APIs (Note: Battery status APIs are actually part of the system information API in device APIs) and performance improvement.
All unsigned and floating-point array types (Note: itAllows JavaScript to support binary data, You can refer to this Article) now the developer tool will display as a normal array. Obtaining heap snapshots is now 1
1. Web API Brief DescriptionRecently, many large platforms have exposed web APIs. such as Baidu map Web API, do map related people are familiar. Exposing the service this way makes it easy to integrate functionality with a wide variety of device and client platforms, and to create a richer HTML experience by using JavaScript in the browser. So I believe that the Web API
For the title of this article, in fact, the literal translation is to create an API endpoint. But, it is really difficult to understand, I still write as API routing bar. Each article, the article, I will all go to carry on the practice operation, strives to write a good point tutorial.This English address-->https://github.com/dingo/api/wiki/creating-
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.