Posted by Steven Paul on 08/21/06 20:40
I'm using
$ip = isset($_SERVER['HTTP_X_FORWARDED_FOR']) ?
$_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR'];
to get a visitor's IP address, but every once in a while I get
"unknown, unknown" instead of an address. Is there something I'm
leaving out?
[Back to original message]
|