Re: $HOST_NAME
| From: | Robert B. Easter | Date: | Wed, 29 Nov 2000 23:25:26 +0000 |
| Subject: | Re: $HOST_NAME | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27917@lists.php.net to get a copy of this message | ||
On Wednesday 29 November 2000 17:58, Boget, Chris wrote:
> > Just recently, the above PHP variable stopped
> working for me. Why? Nothing changed on
> our server... I needed it to get the name of the
> machine that the webserver is running on. Is
> there another variable I can access to get that
> info?
>
> Chris
Try: echo $HOSTNAME
--
-------- Robert B. Easter reaster@comptechnews.com ---------
- CompTechNews Message Board http://www.comptechnews.com/ -
- CompTechServ Tech Services http://www.comptechserv.com/ -
---------- http://www.comptechnews.com/~reaster/
------------