Bug #17713 Updated: Request Reverse Lookup Reserved Variable
| From: | yohgaki@php.net | Date: | Tue, 11 Jun 2002 23:44:39 +0000 |
| Subject: | Bug #17713 Updated: Request Reverse Lookup Reserved Variable | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10191@lists.php.net to get a copy of this message | ||
ID: 17713
Updated by: yohgaki@php.net
Reported By: vnolton@pragakhan.com
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: Solaris,freebsd
PHP Version: 4.2.1
New Comment:
IMO, we shouldn't do that. It can be done by 1 line of php script. As
you know, DNS lookup is _expensive_ operation and kills performance a
lot. If you need reverse lookup, do it by yourself.
Previous Comments:
------------------------------------------------------------------------
[2002-06-11 16:05:34] vnolton@pragakhan.com
$REMOTE_ADDR returns the ip of the remote user 127.0.0.1 (example).
Some of us have apache setup to do reverse lookups of the ips for
logging. Could there not be a way (without using a lookup function) to
have a reserved variable return the already reversed IP?
$REMOTE_ADDR_EXT could maybe return www.blah.com
Just a request. Sorry to bother you all.
Victor 'Ven' Nolton
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17713&edit=1