RE: [PHP] How to detect the prefered languages of Web-Clients?
| From: | Adrian Portsmouth | Date: | Sat, 27 Nov 2004 13:52:30 +0000 |
| Subject: | RE: [PHP] How to detect the prefered languages of Web-Clients? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202945@lists.php.net to get a copy of this message | ||
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@htaccessmanager.com
[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@freenet.de]
Sent: 27 November 2004 13:30
To: php-general@lists.php.net
Subject: [PHP] 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)