Re: Re: Question about development

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

 



On Feb 12, 2008 2:53 PM, Nathan Rixham <nrixham@xxxxxxxxx> wrote:
> Browsers generally send the the HTTP_ACCEPT_LANGUAGE header in a request.
>
> $_SERVER[HTTP_ACCEPT_LANGUAGE] => en-gb,en;q=0.5
>
> thus with mine, preference is en-gb, failing that anything en; failing
> that whatever you've got.
>
> ACCEPT_CHARSET is worth a check often aswell; finally POST requests can
> also have a CONTENT_LANGUAGE specified which describes the lang of the
> content.

    Yes, but as has been said in the past, you can't rely on browser
headers, because they can easily be forged.  ;-P

    I can see it now....

    "That'll mess with them.  Now they'll think I'm Mexican!"

-- 
</Dan>

Daniel P. Brown
Senior Unix Geek
<? while(1) { $me = $mind--; sleep(86400); } ?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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