Jump to content

Getting user's probable language with php?


physaux

Recommended Posts

IP addresses by themselves can not give you a location of someone. IP addresses can often lie also (depending on the ISP) for example, a lot of AOL users can appear to be living in virginia (US aol users that is) when they in fact may live in california, or Florida. Not to mention that, since IP addresses aren't region specific (they are not like telephone numbers, which give you an area code) you would need some sort of 3rd party information.

 

why not just provide a link to the website in different languages at the home page?

I read something about HTTP Accept-Language headers, and GeoIP..

Any ideas how to use these?

 

-mikesta, i would just want my page to pop up in the language that this method would tell me. Even if it had a 70% success rate, i would use it, and offer the ability to change the language.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.