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:[EMAIL PROTECTED] 
Sent: Tuesday, January 09, 2007 4:20 PM
To: php-general@lists.php.net
Subject: [PHP] 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

Reply via email to