note 38157 added to language.variables.predefined

From: Date: Wed, 10 Dec 2003 11:12:33 +0000
Subject: note 38157 added to language.variables.predefined
Groups: php.notes 
Request: Send a blank email to php-notes+get-61732@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/language.variables.predefined.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+38157 Delete -- http://master.php.net/manage/user-notes.php?action=delete+38157&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+38157&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#61732) next »