RE: [PHP] Which country?
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Mon, 20 Jan 2003 22:22:18 +0000 |
| Subject: | RE: [PHP] Which country? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132303@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.
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: -<[ Rene Brehmer ]>- [mailto:metalbunny@metalbunny.net]
> Sent: Tuesday, 21 January 2003 5:58 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Which country?
>
>
> Hi Timothy Hitchens (HiTCHO),
>
> Can't you also, atleast in IE, also ask the browser what
> country the user is in??? I believe IE has a variable that
> takes from the regional settings, which covers language and
> format info for numbers ... but not sure you can pull it from
> the web though .... the MSDN library is a bit foggy in that respect...
>
> Rene
>
> On Mon, 20 Jan 2003 20:35:35 +1000, you wrote about "RE:
> [PHP] Which country?" something that looked like this:
>
> >Yes and no... you can use whois information about the IP class or
> >enlist the services from a GEO firm that provides database
> information
> >that includes information down to
> >and including Cities etc.
> >
> >The accuracy of this type of service in some areas of the
> world is not
> >exactly accurate but usable.
> >
> >Look for PHP whois classes but remember that most registries
> restrict
> >the number of requests these days.
>
> --
> Rene Brehmer
>
> This message was written on 100% recycled spam.
>
> Come see! My brand new site is now online!
> http://www.metalbunny.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>