RE: [EMAIL PROTECTED] Getting WHOIS info

2005-12-28 Thread Maurer, Hermann
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

[EMAIL PROTECTED] Getting WHOIS info

2005-12-28 Thread Gerry Danen
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