Re: Conditional include based on virtual host ?

From: Date: Sun, 28 Jan 2001 01:22:15 +0000
Subject: Re: Conditional include based on virtual host ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37067@lists.php.net to get a copy of this message
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: mfischer@josefine.ben.tuwien.ac.at PGP Public Key: http://josefine.ben.tuwien.ac.at/~mfischer/C2272BD0.asc PGP Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0

« previous php.general (#37067) next »