subdomain

From: Date: Wed, 11 Sep 2002 00:55:56 +0000
Subject: subdomain
Groups: php.general 
Request: Send a blank email to php-general+get-115917@lists.php.net to get a copy of this message
G'day everyone, I have a dilemma... I'm running BIND locally, with a wildcard A record. That means that if someone goes to http://somebullshit.mydomain.com/ they'll get my page up. What I want to do is catch that subdomain into a variable... Is there a PHP global that can get that? So, if someone goes to http://liam.mydomain.com/, the page will echo "Hello Liam" Any ideas guys? Cheers, Liam

« previous php.general (#115917) next »