RFC 1766 [英] RFC 1766
本文介绍了RFC 1766的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何从PHP获取RFC1766中安装PHP的系统的语言
约定?
解决方案
7月25日下午12:28,谢尔盖·里亚佐夫<他...... @ world.comwrote:
如何从PHP中获取RFC1766中安装PHP的系统的语言?
约定?
setlocale()
2007年7月25日星期三10:59:21 + 0000,Sjoerd写道:
>如何在RFC1766中获得安装PHP的系统的语言
约定来自PHP?
setlocale()
Thanx!
< blockquote> On Wed,25 Jul 2007 10:59:21 +0000,Sjoerd写道:
>我怎样才能获得语言在PHP的RFC1766
约定中安装PHP的系统?
setlocale()
嗯,好像我问了一个错误的问题。现在我意识到
我真正想要的是客户端的浏览器区域设置。例如,Firefox中的
general.useragent.locale设置。我可以在不使用Javascript的情况下以某种方式从
用户的浏览器中获取此RFC1766吗?
Hi,
How can I get language of the system where PHP is installed in RFC1766
convention from PHP?
解决方案
On Jul 25, 12:28 pm, Sergei Riaguzov <he...@world.comwrote:How can I get language of the system where PHP is installed in RFC1766
convention from PHP?setlocale()
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()
Thanx!
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?
这篇关于RFC 1766的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文