note 32770 added to function.getenv

From: Date: Fri, 06 Jun 2003 12:34:03 +0000
Subject: note 32770 added to function.getenv
Groups: php.notes 
Request: Send a blank email to php-notes+get-49849@lists.php.net to get a copy of this message
You can easily extend your ip script to prevent users who access your page over a proxy hiding the ip in this case the ip will be 'unknown' so this code excludes bad proxy users (usually if you use a proxy ip is still available) if($ip=='unknown') { exit(); } ---- Manual Page -- http://www.php.net/manual/en/function.getenv.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32770 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32770&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32770&report=yes

« previous php.notes (#49849) next »