(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 ' domain name whois query system '; echo " | "; echo "
"; Echo '
'; Echo '; echo ""; Echo $whois; echo ""; echo ""; echo "
"; Echo '
'; Echo ' phpcode.net '; echo ""; echo "
"; echo "
";
?>