[COLUG] PHP Question
Rob Robson
rob at rob-robson.com
Wed Nov 14 06:30:22 EST 2007
Working on a PHP web page to get IP information into a variable and mail it back to me. Having a problem
getting the whois data into the variable.
This line works Okay
$ip = getenv("REMOTE_ADDR");
This only returns one word or the last line of the lookup.
$message = exec ('/usr/bin/whois "$ip"');
How do I get the complete whois info into $message ???
Thanks
--
Rob Robson
Chillicothe, Ohio
PGP (See Headers)
http://www.rob-robson.com
More information about the colug432
mailing list