sorry folks, just haven't been able to find this on google.
i want to use php to identify what domain the user is coming from.
not what path, what domain.
imagine you had three subdomains all pointing to the same page.
is it happy.drupal.org, sad.drupal.org, or drupal.org?
depending on which it is, the user gets a message.
how could you create php conditional responses for those subdomains?