Getting Content-Language info?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ReGenesis0@aol.com

    Getting Content-Language info?

    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?

    -Derik

  • Rik

    #2
    Re: Getting Content-Language info?

    <ReGenesis0@aol .comwrote:
    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_LA NGUAGE']
    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():

    --
    Rik Wasmus

    Comment

    Working...