[PHP-DB] Client IP

2002-05-12 Thread Hayan AL Mamoun

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???

bst rgds
Hayan


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Client IP

2002-05-12 Thread Jason Wong

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.
*/


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] Client IP

2002-05-12 Thread Sebastian Tschiatschek

Take a look at the following page:
http://www.cgsa.net/php/identifierShow.php

The script for getting the original ip-address is quite good.

hth
Sebastian

--
Tschiatschek Sebastian, [EMAIL PROTECTED] | System Consulting
Graz, AUSTRIA  / High Availability/Cluster
Mobile: +43 676 84552713  / Web Development
Fax: +43 316 428896  / Unix  Network Administration



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php