I'm trying to get the remote IP address of a user in a (PHP) version and
server-software independant way, but am having a few problems.

Obviously, I've seen $HTTP_SERVER_VARS['REMOTE_ADDR'], but Ive also seen
references to $HTTP_SERVER_VARS['HTTP_X_FORWARDED_FOR'].

Is there any generic solution to this problem (and if so, what is it?)

Cheers
--
Alan McFarlane
[EMAIL PROTECTED]
ICQ: 20787656



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to