Re: server alias
| From: | Joe Stump | Date: | Tue, 15 May 2001 03:04:13 +0000 |
| Subject: | Re: server alias | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-52791@lists.php.net to get a copy of this message | ||
Works great - thanks!
--Joe
On Tue, May 15, 2001 at 11:51:35AM +1000, Jason Brooke wrote:
> > $SERVER_NAME only gives me foober.com (since that is the servername), but not
> > the alias someone typed in to get there ...
> >
> > --Joe
>
> Give HTTP_HOST a go
> Check here for more
> http://www.php.net/manual/en/language.variables.predefined.php
> or use phpinfo()
> to see exactly what you have available
>
> jason
>
>
Joe Stump <joe@joestump.net>
------------------------------------------------------------------------
There is no remedy for sex but more sex. (contributed by
Chris Johnston)