Re: Re: ip to country
| From: | Chris Shiflett | Date: | Sun, 21 Mar 2004 21:36:05 +0000 |
| Subject: | Re: Re: ip to country | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181097@lists.php.net to get a copy of this message | ||
--- Tom Reed <tom@techropolis.com> wrote:
> I would think using HTTP_ACCEPT_LANGUAGE to get the users browser
> language/country info would be quicker and easier to implement.
This is definitely the best way to get the language. You're right about
that. However, this is not the user's question:
> I have a site that will have different pricing by world region /
> country and also offer different currencies.
He needs the country, not the language.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security - O'Reilly
Coming mid-2004
HTTP Developer's Handbook - Sams
http://httphandbook.org/
PHP Community Site
http://phpcommunity.org/