Re: $HOST_NAME

From: Date: Wed, 29 Nov 2000 23:02:30 +0000
Subject: Re: $HOST_NAME
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27906@lists.php.net to get a copy of this message
With apache, $SERVER_NAME contains the server name as defined in httpd.conf with: ServerName www.yourhost.com I belive $HOST_NAME contains that actual name of the machine, and we all know that one machine can resolve to many different names. -jeremy brand Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: jeremy@nirvani.net http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more - - - - - - - - - - - - - - - - - - - - - - - - - "We're all Linux all the time, and very proud of it" Jim Reese, Chief Operations Engineer, Google.com On Wed, 29 Nov 2000, Boget, Chris wrote: > Date: Wed, 29 Nov 2000 16:58:54 -0600 > From: "Boget, Chris" <Chris.Boget@wild.net> > To: "PHP (E-mail)" <php-general@lists.php.net> > Subject: [PHP] $HOST_NAME > > 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 >

« previous php.general (#27906) next »