Re: _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us
| From: | John Taylor-Johnston | Date: | Wed, 18 Oct 2006 04:06:59 +0000 |
| Subject: | Re: _SERVER["HTTP_ACCEPT_LANGUAGE"] en-us | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-243271@lists.php.net to get a copy of this message | ||
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");}