Re: identifying the country of the people who connect to web site / portal
| From: | Skippy | Date: | Sat, 27 Nov 2004 14:23:57 +0000 |
| Subject: | Re: identifying the country of the people who connect to web site / portal | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202997@lists.php.net to get a copy of this message | ||
On Sat, 27 Nov 2004 12:35:53 +0000 "partners@symbulos.com"
<partners@symbulos.com> wrote:
> We would like to identify the country of the people who connect to our
> website / portal using php. The idea is to provide them directly with the
> homepage in their language.
>
> Is that possible? Has anybody ever doen anything like that using php?
Just because my IP address says I'm somewhere it doesn't mean you should
slap me with a certain language which I may or may not understand. People
travel. There are also countries who use more than one language.
Surfers can set their language preferences in their browser. You should
look at the Accept-Language and Accept-Charset headers that the browser
sends and decide based on them. That's the sensible criterium IMO.
--
Skippy - Romanian Web Developers - http://ROWD.ORG