$HTTP_HOST ?

Not sure - don't feel like setting up a wildcard... :)

Joe Stump wrote:

> Say i have a server foobar.com and in my httpd.conf i have *.foobar.com as
> a ServerAlias in my <virtualhost> is there a common PHP var that will give me
> the domain someone actually types in?
>
> $SERVER_NAME only gives me foober.com (since that is the servername), but not
> the alias someone typed in to get there ...
>
> --Joe
>
> Joe Stump <[EMAIL PROTECTED]>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to