If you are running under linux you can use one of the many exec functions in php to execute the whois command. <?php $command = "whois domain.com"; $output = shell_exec($command); // Insert code to parse results here echo "<pre>$output</pre>"; ?> Larry -----Original Message----- From: Marcelo Ferrufino Murillo [mailto:marcefm@xxxxxxxxx] Sent: Tuesday, January 09, 2007 4:20 PM To: php-general@xxxxxxxxxxxxx Subject: whois Domain?? Hi ereryone I need to do an script into a web page to know if a domain is registered so I don´t know how to send a query to "internic" or what I have to do to get this. Thank you, I hope your help. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php