note 38157 deleted from language.variables.predefined by didou
| From: | didou@php.net | Date: | Wed, 14 Jan 2004 12:24:18 +0000 |
| Subject: | note 38157 deleted from language.variables.predefined by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63522@lists.php.net to get a copy of this message | ||
Note Submitter: arjan_at_archill_dot_no_dot_spam_dot_net
----
In reply to the comment posted on 01-May-2003 03:06
Be carefull when using the $_SERVER["HTTP_X_FORWARDED_FOR"] variable for determining the
visitors IP address. I sometimes note that the variable contains the string 'unknown' and
is therefore not empty. So checking with isset() won't always guarantee that it contains a
usable IP address. It also sometimes contains two IP addresses, separated by comma.
Arjan