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 run
> whois and then display the output. I like to do this in PHP 5.
[..skipped..]
> echo  "<pre><br>ARIN:<br>";
> $out  = "/home/website/work/" . $arg . ".txt" ;
> $cmd  = "whois -h whois.arin.net " .$arg . " >" . $out ;
               ^^^^ 
try to call whois with the full path like /usr/bin/whois

[..skipped..]

Regards,
Hermann Maurer

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to