The PEAR::Net_Whois looks up records in the databases maintained by several Network Information Centers (NICs). WWW: http://pear.php.net/package/Net_Whois/