This can give a fair idea of where that person has come from, and if they
are international then the country may be obvious. I would be very surprised
if you could collect meaningul information about which state they are tho.
In my experience, however, lots of hosts turn off reverse DNS
Um... you could look at REMOTE_HOST to get their IP address and use that to
look up the address of their server. If you assume they won't log in
long-distance, that should give you their country and state, and maybe a
useful approximation of their city.
Lisa Elita [EMAIL PROTECTED] wrote in
Turn on referrers in the Apache config file and do reverse DNS lookuips in
your web analyser.
-Original Message-
From: Lisa Elita [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 28, 2001 9:21 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Which state and country?
Hi all,
How can we know