A domain name query project_php tutorial

Source: Internet
Author: User
Tags domain name registration
A domain name query program. (Mainly using two string functions implode () and explode) source code of the domain name query I made, mainly using two string functions implode () and explode, use these two functions to cut characters (mainly using two string functions implode () and explode)
The source code of the domain name query I made mainly uses two string functions: implode () and explode. the powerful functions of these two functions can be used to cut strings. com ,. net ., org ., cc ., the whois domain name under TV.
Echo' ";
If (isset ($ string ))
{
$ Url = "http://networksolutions.com/cgi-bin/whois/whois? STRING = ". $ string." & STRING = Search ";
$ Str = implode ("", file ($ url ));
$ Aa = explode (" $ Bb = $ aa [1];
$ Cc = explode ("re>", $ bb );
$ Dd = $ cc [0];
$ Ee = explode ("e>", $ dd );
$ Ff = implode ("
",$ee); 
$hh=explode("$jj=implode("
", $ Hh );
$ Kk = explode ("Registrant", $ jj );
$ Ll = implode ("registrant", $ kk );
$ Mm = explode ("Domain Name", $ ll );
$ Nn = implode ("domain name", $ mm );
$ Oo = explode ("Administrative Contact", $ nn );
$ Pp = implode ("manage contacts", $ oo );
$ Qq = explode ("Technical Contact", $ pp );
$ Ii = implode ("Technical Contact", $ qq );
$ Ss = explode ("Record last updated on", $ ii );
$ Tt = implode ("Last Update Date:", $ ss );
$ Uu = explode ("Record expires on", $ tt );
$ Vv = implode ("domain name expiration date:", $ uu );
$ Ww = explode ("Record created on", $ vv );
$ Xx = implode ("domain name registration date:", $ ww );
$ Yy = explode ("Database last updated on", $ xx );
$ Zz = implode ("database update date:", $ yy );
$ Aaa = explode ("Record updated on", $ zz );
$ Bbb = implode ("Record Update Date:", $ aaa );
$ Ccc = explode ("Admin Name", $ bbb );
$ Ddd = implode ("manage contacts", $ ccc );
$ Eee = explode ("Tech Name", $ ddd );
$ Whois = implode ("Technical Contact", $ eee );
}
Echo'









';Echo' ';Echo" ";Echo" ";Echo' ';Echo" ";Echo" ";Echo' ';Echo" ";Echo" ";Echo"
";
Echo'

Domain name whois query system

';
Echo"
";
Echo'

';
Echo"
";
Echo $ whois;
Echo"

";
Echo"
";
Echo'

PHPcode.net

';
Echo"
";
?>

Http://www.bkjia.com/PHPjc/315837.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/315837.htmlTechArticle (mainly used two string functions implode () and explode) I made domain name query source code, mainly used two string functions implode () and explode, use these two functions to cut characters...

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.