A Domain name Query program _php Tutorial

Source: Internet
Author: User
Tags explode 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 " "; 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.html www.bkjia.com true http://www.bkjia.com/PHPjc/315837.html techarticle (mainly using two string functions implode () and explode) I made the domain name query source code, mainly using two string functions implode () and explode, take advantage of the two functions of the cutting character ...

  • 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.