Domain Name record batch query a domain name query program

Source: Internet
Author: User
Tags domain name registration
(mainly using two string functions implode () and explode)
I made the domain name query source code, mainly with two string functions implode () and explode, using these two functions of the powerful function of cutting strings can be queried. com,.net.,org.,cc.,tv domain name whois.
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 ("

$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 ("Management Contact", $oo);
$qq =explode ("Technical contact", $pp);
$ii =implode ("Technical Contact person", $qq);
$ss =explode ("Record updated on", $ii);
$tt =implode ("Last Updated on:", $SS);
$uu =explode ("Record expires on", $TT);
$VV =implode ("Domain 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 Updated on:", $yy);
$aaa =explode ("Record updated on", $zz);
$BBB =implode ("Record updated on:", $AAA);
$CCC =explode ("Admin Name", $bbb);
$DDD =implode ("Management Contact", $CCC);
$eee =explode ("Tech Name", $ddd);
$whois =implode ("Technical Contact person", $eee);
}
Echo '

















"; echo" "; echo " "; Echo ' '; Echo '; echo ""; Echo $whois; echo ""; echo ""; echo " "; Echo ' '; Echo ' phpcode.net '; echo ""; echo " "; echo "
";
Echo ' domain name whois query system ';
echo "
";
?>

Above introduces the domain name record batch query a domain name query procedure, including the Domain Name record batch query aspect content, hoped to be interested in the PHP tutorial friend helpful.

  • Related Article

    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.