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
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
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
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
Read "Android from entry to entry" (6) -- button, android from entry to entryButton)
A Button belongs to the android. widget package and inherits android. widget. TextView. It is also the parent class of CompoundButton, CheckBox, RadioButton, and ToggleButton.Button Method
Button Layout
Supplement laterButton example
Complete: http://download.csdn.net/detail/swe
Java from entry to entry-database Mongo DB installation start and configuration details, from entry to entry-level mongo
I. Overview
After Mongo DB is downloaded, how should we install and start and configure Mongo DB? This blog will introduce how to install and start Mongo DB and how to configure it.
Ii.
Java from entry to entry-database Mongo DB Export, Import, backup, from entry to entry-level mongo
I. Overview
This blog tells you how Mongo DB imports and exports data and backs up data.
In the following operations, you must open the Mongo DB server to perform the operation.
Ii. Export.
MongoD
JS entry function and JQuery entry function. js entry function jquery
First, let's talk about their differences:
(1) The JS window. onload event must be executed after all the content and files such as external images are loaded.
(2) The JQuery entry function is executed after all labels are loaded.
Next, I will explai
Abstract: This article uses an algorithm idea that is almost the same as "computing of big data factorial from entry to entry". It is different from the previous article in this article, the program given in this article uses an array element to represent 4-or 9-bit 10-digit numbers, which makes the calculation faster and saves more memory. This article provides two factorial functions. The program code is
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.