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

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

 



Hello Marek, 

Am 2004-11-27 14:46:20, schrieb Marek Kilimajer:
> Michelle Konzack wrote:
> >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
> >
> 
> You were not looking well, or your browser did not send it.

Not right, because curently I have only Mailaccess to the Internet
and browsing <http://www.php.net/> with Lynx is a horror. 

The book "Programming PHP" (O'Reilly) is from Marchg 2002 and
between the Pages 160-162 (Server Informations) there is no
description of it.

> $_SERVER['HTTP_ACCEPT_LANGUAGE']

Thanks and now it works...

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

Attachment: signature.pgp
Description: Digital signature


[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