|
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
Navigation:
[Reply to this message]
|