Reply to Re: RFC 1766

Your name:

Reply:


Posted by Rik on 07/25/07 12:54

On Wed, 25 Jul 2007 14:51:29 +0200, Sergei Riaguzov <hello@world.com>
wrote:

> On Wed, 25 Jul 2007 10:59:21 +0000, Sjoerd wrote:
>
>>> How can I get language of the system where PHP is installed in RFC1766
>>> convention from PHP?
>> setlocale()
> Hmm it appears that I've asked the wrong question. Now I realize that
> what I really want is a client's browser locale. For example
> general.useragent.locale setting in Firefox. Can I get this RFC1766 from
> user's browser in PHP somehow without using Javascript?

The only thing I know about that hat makes sense to use is the
HTTP_ACCEPT_LANGUAGE header in the request, which may or may not be sent.
--
Rik Wasmus

[Back to original 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

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