On Wednesday 17 March 2004 17:33, Andreas Brunschweiler wrote:
> In this code, the include file is always parsed, even if $includefiles is
> set to 0. Even the files which are 'required()' inside incfile.php are
> parsed (observed with the program Filemon, which registers file access). I
> tried v
You could use $HTTP_HOST:
if( stristr( $HTTP_POST, "fr.domain.com"))
$lang = "fr";
Just put such in your settings.php file you allready include.
Works for me.
Any other ideas very welcome too :)
m.
--
Markus Fischer, http://josefine.ben.tuwien.ac.at/~mfischer/
EMail:
Should work, I think.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
- Original Message -
From: "Alain Fontaine" <[EMAIL PROTECTED]>
Newsgroups: php.g
3 matches
Mail list logo