Re: current location
| From: | Paul Juliano | Date: | Thu, 05 Apr 2001 09:05:59 +0000 |
| Subject: | Re: current location | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-47214@lists.php.net to get a copy of this message | ||
Silly me, it's $HTTP_HOST. :)
Paul Juliano wrote:
>Hi,
>
>What's the php function to find out what server a php page is located?
>For example, the php page is at www.myserver.com. The php page should be able
>to display "Welcome to www.myserver.com". If the same php page is at
>www.yourserver.com, it should be able to display "Welcome to www.yourserver.com".
>
>
__________________________________
www.edsamail.com