You are here: How is HTTP_ACCEPT_LANGUAGE header interpreted? « PHP Programming Language « IT news, forums, messages
How is HTTP_ACCEPT_LANGUAGE header interpreted?

Posted by RvT on 06/01/07 23:38

I have an interesting problem. I have FireFox2, IE7 and Opera9 as test
browsers. All browsers are in Dutch. When I execute the following:

<?=$_SERVER["HTTP_ACCEPT_LANGUAGE"]?>

The result is as follows:

FireFox: nl,en-us;q=0.7,en;q=0.3
Opera: nl-NL,nl;q=0.9,en;q=0.8

and then:

IE: es-us (!!!!!!)

I mean, how in earth does the Dutch version of IE claims that Spanish
is the preferential language? I live in South America, so my regional
settings in the configuration panel of XP is set to Spanish(Peru), but
I cannot find the reason why IE would look to that setting.

Anyone here to explain me why IE handles this very simple routine in a
different way than Opera and FireFox?

Many thanks!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация