RE: [PHP] $HOST_NAME
| From: | Boget, Chris | Date: | Wed, 29 Nov 2000 23:17:24 +0000 |
| Subject: | RE: [PHP] $HOST_NAME | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27920@lists.php.net to get a copy of this message | ||
> > > 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?
> Try: echo $HOSTNAME
eep, sorry. That's originally what I had. I tried also
$HOST_NAME and I guess since that was the last
variable I tried, that's what I put in my subject...
<sheepish grin>
Chris