note 32681 added to function.getenv
| From: | hanez at forpresident dot com | Date: | Wed, 04 Jun 2003 11:08:45 +0000 |
| Subject: | note 32681 added to function.getenv | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-49706@lists.php.net to get a copy of this message | ||
This is just a reply to Joenema,
By compressing the original code by Winther, the code is not "fool-proof" anymore!
Your compressed code returns "unknown" to some of my visitors while Winther's code
doesn't.
If you study the code carefully you can find out why - && $ip1 != "none"
&& $ip1 != "unknown" etc. were not added for fun :)
thanks to Winther helping me to identify all(!) my users...
----
Manual Page -- http://www.php.net/manual/en/function.getenv.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32681
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32681&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32681&report=yes