note 101820 added to function.gethostbyaddr
| From: | james at trnxs dot net | Date: | Wed, 12 Jan 2011 20:45:13 +0000 |
| Subject: | note 101820 added to function.gethostbyaddr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175686@lists.php.net to get a copy of this message | ||
You should be careful in the use of $_SERVER['HTTP_X_FORWARDED_FOR'], as I discovered,
once using Amazon AWS's Elastic Load Balancer's, this value may be a comma separated list
of IP addresses and will thusly not compare as conceived in almost every example I have seen posted
by users in the comments.
----
Server IP: 69.147.83.197
Probable Submitter: 24.120.137.66
----
Manual Page -- http://www.php.net/manual/en/function.gethostbyaddr.php
Edit -- https://master.php.net/note/edit/101820
Del: integrated -- https://master.php.net/note/delete/101820/integrated
Del: useless -- https://master.php.net/note/delete/101820/useless
Del: bad code -- https://master.php.net/note/delete/101820/bad+code
Del: spam -- https://master.php.net/note/delete/101820/spam
Del: non-english -- https://master.php.net/note/delete/101820/non-english
Del: in docs -- https://master.php.net/note/delete/101820/in+docs
Del: other reasons-- https://master.php.net/note/delete/101820
Reject -- https://master.php.net/note/reject/101820
Search -- https://master.php.net/manage/user-notes.php