RE: [PHP] server hostname
| From: | Matt Honeycutt | Date: | Mon, 24 Feb 2003 02:52:23 +0000 |
| Subject: | RE: [PHP] server hostname | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-136807@lists.php.net to get a copy of this message | ||
This information is quite easy to find in the PHP docs. You are looking
for $_SERVER['SERVER_NAME'], which is a predefined variable.
---Matt
-----Original Message-----
From: Michael P. Carel [mailto:mikecarel@teamglac.com]
Sent: Sunday, February 23, 2003 8:24 PM
To: php-general@lists.php.net
Subject: [PHP] server hostname
hi to all;
what function should i used to know the hostname of the server im using
where php and apache reside?
mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php