RE: [PHP] $HOST_NAME
| From: | jeremy brand | Date: | Wed, 29 Nov 2000 23:05:26 +0000 |
| Subject: | RE: [PHP] $HOST_NAME | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27911@lists.php.net to get a copy of this message | ||
Something happend either with your code or your server. Voodoo
computing doesn't exist. There IS an explanation, even if you don't
know it.
Try
$my_host =
uname -n;
This won't lie!
-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 17:03:47 -0600
> From: "Boget, Chris" <Chris.Boget@wild.net>
> To: 'Sam Masiello' <smasiello@chekinc.com>
> Cc: "PHP (E-mail)" <php-general@lists.php.net>
> Subject: RE: [PHP] $HOST_NAME
>
> > Try $SERVER_NAME
>
> Nope, that gives me the name of my "site". It's has
> the same value as $HTTP_HOST.
>
> Chris
>