Re: $_SERVER[REMOTE_ADDR]
| From: | thomas | Date: | Wed, 02 Apr 2003 06:41:14 +0000 |
| Subject: | Re: $_SERVER[REMOTE_ADDR] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141929@lists.php.net to get a copy of this message | ||
$_SERVER["REMOTE_ADDR"]
If the user have a proxy the real IP is:
$_SERVER["HTTP_X_FORWARDED_FOR"]
have fun
thomas
----- Original Message -----
From: John
To: php-general@lists.php.net
Sent: Thursday, April 03, 2003 1:26 AM
Subject: [PHP] $_SERVER[REMOTE_ADDR]
Makes me think...... what exactly the $_SERVER[REMOTE_ADDR] is doing....????
Cause it does not really show the actual IP address instead IP address
within its range....
e.g. 66.87.25.122
output 66.87.25.2
any idea how to get their actual IP add and if possible the name of their
computer....
Also, is it also possible to get or trace the IP add?
many thanks,
John
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
------------------------------------------------------------------------
http://felicitari.mymail.ro/