
March 13th, 2002, 06:36 AM
|
|
Junior Member
|
|
Join Date: Mar 2002
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
$REMOTE_ADDR
hello guys,
i'm making a page in php where i want to know the ip of the user connected.
PHP Code:
<?php echo $REMOTE_ADDR; ?>
the problem is that this does not return the good ip that my ISP has given me, but it returns the IP of the proxy used by the ISP. this does not allow me to know individual IPs but it returns one IP for all the users connected through my ISP.
what bothers  me more is that if i go to other sites that display IPs i get the real IP that i have not the one of the proxy!!!!
is there a special configuration so that the APACHE returns the IP of the user and not the ip of the proxy used by the ISP? or is there another way to know the IP of the user?
Thanks
Last edited by nabilf : March 13th, 2002 at 06:43 AM.
|