Re: multiple domain handling with php
| From: | Marc E. Brinkmann) | Date: | Wed, 09 May 2001 11:46:53 +0000 |
| Subject: | Re: multiple domain handling with php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52084@lists.php.net to get a copy of this message | ||
Hi Scott Mebberson,
Wednesday, May 09, 2001, 7:43:16 AM, you wrote:
Scott> Does anybody have any scripts or tips on hosting multiple domains on the one
Scott> account ie. if the domain being requested is this, go here in my account if
Scott> not go here in my account?
Well, I hope I understood you right ;-)
Try some enviroment variables, maybe $HTTP_SERVER_VARS["HTTP_HOST"] or
$HTTP_SERVER_VARS["SERVER_ADDR"]
Hope it helped,
-----------------------
EnjoY,
Adaran (vielmailer@adaran.net)
check http://www.adaran.net