note 32770 deleted from function.getenv by alindeman
| From: | alindeman@php.net | Date: | Fri, 06 Jun 2003 12:36:11 +0000 |
| Subject: | note 32770 deleted from function.getenv by alindeman | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-49856@lists.php.net to get a copy of this message | ||
Note Submitter: reddragon at flashbb dot net
----
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();
}