If you are not being directed through a proxy REMOTE_ADDR does show the real user IP address.
Also be aware dns lookups are expensive, rather than resolving their ip address when they visit you should consider resolving them when you need them in host format.
Jason
John wrote:
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