: This article mainly introduces the WHOIS class (modified version) in php. if you are interested in the PHP Tutorial, please refer to it. 1. simplified the code. (In fact, some unnecessary variable definitions are removed)
2. the information
Use PHP to query the domain name status whois class. Copy the code as follows :? ClassSearchDomain {var $ domain; functionSetDomain ($ udomain) {$ this-domain $ udomain;} get whois and analyze the domain name status. OK is not registered. it is not
1, simplify the code. (in fact, the definition of a few variables is removed)
2, for the information retrieved from InterNIC is too simple, according to InterNIC feedback information in the WHOIS server for further inquiries. For example, Yahoo has
The modified version of the WHOIS class. 1. simplified the code. (In fact, some unnecessary variable definitions are removed.) 2. the information retrieved from INTERNIC is too simple. WHOISSER 1 in INTERNIC feedback simplifies the code. (In fact,
Use PHP to query the domain name status whois class
The code is as follows:
Class SearchDomain{Var $ domain = "";Function SetDomain ($ udomain){$ This-> domain = $ udomain;}//// Obtain whois and analyze the domain name status// OK is not
Copy CodeThe code is as follows:
Class Searchdomain{var $domain = "";function SetDomain ($udomain){$this->domain = $udomain;}//Get whois and analyze domain name statusOK is not registeredNon-null value expiration timeNull value Unknown//function
Copy CodeThe code is as follows:
Class Searchdomain
{
var $domain = "";
function SetDomain ($udomain)
{
$this->domain = $udomain;
}
//
Get whois and analyze domain name status
OK is not registered
Non-null value expiration time
Null value Unknown
//
Copy codeThe Code is as follows:Class SearchDomain{Var $ domain = "";Function SetDomain ($ udomain){$ This-> domain = $ udomain;}//// Obtain whois and analyze the domain name status// OK is not registered// Non-null expiration time// Null value
Introduction: This is a detailed page of the domain name query system whois written by PHP. It introduces the related knowledge, skills, experience, and some PHP source code.
Class = 'pingjiaf' frameborder = '0' src = 'HTTP: //
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
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.