RE: [PHP] $_SERVER[REMOTE_ADDR]
| From: | Mark Charette | Date: | Wed, 02 Apr 2003 12:28:30 +0000 |
| Subject: | RE: [PHP] $_SERVER[REMOTE_ADDR] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141971@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: thomas [mailto:mtoma@mymail.ro]
>
> $_SERVER["REMOTE_ADDR"]
>
> If the user have a proxy the real IP is:
> $_SERVER["HTTP_X_FORWARDED_FOR"]
Maybe. If it's set and is set correctly. Even then:
How are 127.0.0.1 or 192.168.1.1 going to help you, supposing that those
values or other address are returned?
Mark C.