Re: identifying the country of the people who connect to web site / portal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 27 Nov 2004 12:35:53 +0000 "partners@xxxxxxxxxxxx"
<partners@xxxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux