1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

WHOIS query using PHP

Discussion in 'PHP' started by pradeep, Aug 2, 2006.

  1. pradeep

    pradeep Team Leader

    Do a WHOIS query for any domain using the script below.:)
    <form method="POST" action= "<?$_SERVER['PHP_SELF']?>">
        <label>Do a WHOIS query:</label>
            <INPUT name="domain" SIZE="20" MAXLENGTH="22">
            <INPUT TYPE="SUBMIT" VALUE="Check name">
            <INPUT TYPE="RESET" VALUE="Clear">
    <font size="2">

    function whois($domain$server="www.go4expert.com")

    $fp fsockopen ($server43, &$errnr, &$errstr) or die("$errno$errstr");
        while (!

    If (isset (
  2. pipeten

    pipeten New Member

    I wouldn't recommend using this script without register_globals set off.
  3. pipeten

    pipeten New Member

    Still a nice script though (no offence meant)

Share This Page