On Mon, 18 Mar 2002, Brian wrote:

>Hi:
>Does anyone out there know how to execute a WHOIS query from within PHP?

quick and dirty:

#!/usr/bin/php -q

<?
exec("whois destiney.com", $array);
while(list(,$value) = each($array))
        echo $value . "\n";
?>


-- 
-----------------------------------------------------------------------
Greg Donald - http://destiney.com/
http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/
-----------------------------------------------------------------------



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to