Posted by todofixthis on 01/06/08 16:34
Heya, Jason. If you find yourself doing this frequently, I would recommend something like this instead: [code=php] $__domainInfo = explode('.', $_SERVER['HTTP_HOST']); switch( $__domainInfo[0] ) { case 'parkdomain1': define('SUBDOMAIN', 'parkdomain1');
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming