Re: Client IP
| From: | Jason Wong | Date: | Sun, 12 May 2002 18:31:08 +0000 |
| Subject: | Re: Client IP | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19137@lists.php.net to get a copy of this message | ||
On Sunday 12 May 2002 21:49, Hayan AL Mamoun wrote:
> Dear all,
> I'm using the $REMOTE_ADD variable to get the visitor IP address, but when
> a visitor access my website throught a proxy server I get always the same
> ip of that proxy server.
> Is there a way to get the unique IP of each users???
If someone connects through a proxy then you might be able to use
$HTTP_X_FORWARDED_FOR, but that depends on whether the proxy gives that info.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Today you'll start getting heavy metal radio on your dentures.
*/