$SERVER_NAME gives you the location

D.

-----Original Message-----
From: Paul Juliano [mailto:[EMAIL PROTECTED]]
Sent: donderdag 5 april 2001 10:29
To: [EMAIL PROTECTED]
Subject: [PHP] current location


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]



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