Hi,
> -Original Message-
> From: Gerry Danen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 28, 2005 10:56 PM
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] Getting WHOIS info
>
> I want to create a page where I enter an IP address then exec() to
I want to create a page where I enter an IP address then exec() to run
whois and then display the output. I like to do this in PHP 5.
This is what I try:
$arg = trim($_GET[ip]); // get IP address
echo"ARIN:";
$out= "/home/website/work/" . $arg . ".txt" ;
$cmd= "whois -h whois.arin.n