I replaced this:

$address = getenv("REMOTE_ADDR");

with this

$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);

and now I am getting exactly what I was trying to get.

-- 
Jack "Rhino" Gates, Registered Linux user #342662
Morning Star Communications, www.morningstarcom.net
Web Hosting, Site Design, Domain Registration,
VMware Workstation Software and GSX Server Software

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to