server name that the user agent used

From: Date: Mon, 14 Sep 2009 01:21:29 +0000
Subject: server name that the user agent used
Groups: php.general 
Request: Send a blank email to php-general+get-297989@lists.php.net to get a copy of this message
when using apache with one vhost that responds to a few different hostnames, e.g. domain.org, y.domain.org, x.domain.org, let's say the vhost's server name is y.domain.org and the other two are aliases, is there a way in php to know which of these was used by the user agent to address the server?

« previous php.general (#297989) next »