RE: How to detect the prefered languages of Web-Clients?

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

 



Hi Michelle,

I believe you can detect it from the $_SERVER['HTTP_ACCEPT_LANGUAGE']
superglobal.

There is a good thread on this topic at:
http://forums.postnuke.com/index.php?name=PNphpBB2&file=viewtopic&t=32841

Which might be of assistance to you.

============================================
Adrian Portsmouth
.htaccess Manager - SilkPHP
[e] service@xxxxxxxxxxxxxxxxxxx
[w] www.htaccessmanager.com
============================================

This email, its contents and attachments are confidential and may be covered
by legal privilege.  This email contains information intended only for the
person(s) and/or entity named above. The views and opinions expressed are
those of the sender and not necessarily those of SilkPHP or its affiliates.
Any other distribution, copying, review, use or disclosure is strictly
prohibited. If you are not the intended recipient, please delete this
message and any attachments without making a copy and advise the sender by
return email - thank you.

This mail and any attachments have been scanned for viruses prior to leaving
the SilkPHP network. SilkPHP will not be liable for direct, special,
indirect or consequential damages arising from alteration of the contents of
this message by a third party or as a result of any virus being passed on.

-----Original Message-----
From: Michelle Konzack [mailto:linux4michelle@xxxxxxxxxx] 
Sent: 27 November 2004 13:30
To: php-general@xxxxxxxxxxxxx
Subject:  How to detect the prefered languages of Web-Clients?

Hello, 

I was reading the book "Programming PHP" (O'Reilly) and searching the PHP
docs but have not found the answer, how to get the Web-Clients prefered
Languages.

I was thinking it is in the $_SERVER Variable but nothing.

Thanks
Michelle

--
Linux-User #280138 with the Linux Counter, http://counter.li.org/ 
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

-- 
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