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'Domain name whois query system '; Echo" | ";Echo"
";Echo'
';Echo"
"; Echo''; Echo" "; Echo $ whois; Echo" "; Echo" | ";Echo"
";Echo'
';Echo"
"; Echo'PHPcode.net '; Echo" | ";Echo"
";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...