Re: _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us

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

 



Stut,
Richard,
Thanks for the feedback!
Quebec has a language law, so I'm obligated to serve French first. I can wiggle around that if the preferred language is "other".
John

Is this a reasonable approach?

if(stristr($_SERVER["HTTP_HOST"],"fr"))
{ include("french.htm");}else{ include("english.htm");}


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