RE: [PHP] Which country?
| From: | David Freeman | Date: | Tue, 21 Jan 2003 01:09:59 +0000 |
| Subject: | RE: [PHP] Which country? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132324@lists.php.net to get a copy of this message | ||
> You could rely somewhat of the time zone codes as you refer
> to them, the
> only issue is in some parts of the world
> this would include 10 countries at a time.
But what time zone are you getting? The time zone of the browser? The
time zone of the proxy cache that's in a possibly different time zone
that the browser is forced to use? The time zone of the corporate
firewall that lives in a different zone to the browser? A multinational
corporate firewall where all traffic is VPN'd back to a single internet
gateway to permit traffic control (and before you say this doesn't
happen, I know of at least two or three Australian government
departments that do this - one on a national basis which means it
crosses multiple time zones).
The only sure way to get a country is to ask the browser for it.
...and even then they might lie...
CYA, Dave