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

-- 
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