Reply to Re: Getting Content-Language info?

Your name:

Reply:


Posted by Rik on 02/01/07 14:20

<ReGenesis0@aol.com> wrote:

> Okay, now I'm fuzzy on this...
>
> As I understand it, when the browser sends its request ot the web-
> server, there's a bunch of associated metadata sent along with it-
> including the Content-Language info (such as en_UK... british english
> is the language set in the browser.)
>
> Assuming I'm not completely wrong-headed about this... how do I find
> out the values of those various metadata sent in the request header?

In this case: $_SERVER['HTTP_ACCEPT_LANGUAGE']
The $_SERVER array will hold among other things (most of?) the variables
set by the browser.

Also, in Apache you can use apache_request_headers():
http://www.php.net/apache_request_headers
--
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

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