RE: [users@httpd] Getting WHOIS info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> -----Original Message-----
> From: Gerry Danen [mailto:gdanen@xxxxxxxxx] 
> Sent: Wednesday, December 28, 2005 10:56 PM
> To: users@xxxxxxxxxxxxxxxx
> Subject: [users@httpd] 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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux