RE: [PHP] current location
| From: | Dominick Vansevenant | Date: | Thu, 05 Apr 2001 08:26:42 +0000 |
| Subject: | RE: [PHP] current location | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-47199@lists.php.net to get a copy of this message | ||
$SERVER_NAME gives you the location
D.
-----Original Message-----
From: Paul Juliano [mailto:paul@edsamail.com.ph]
Sent: donderdag 5 april 2001 10:29
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net