Re: HTTP_SERVER_VARS not working. Please help

From: Date: Fri, 06 Sep 2002 10:12:07 +0000
Subject: Re: HTTP_SERVER_VARS not working. Please help
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-115424@lists.php.net to get a copy of this message
I also tried $_HTTP['HTTP_HOST']. Not working. The host has php 4.1.2 version -- -------------------------------- Cirstoiu Aurel Sorin InterAKT Support http://www.interakt.ro -------------------------------- "Erwin" <erwin@isiz.com> wrote in message news:20020906100620.71126.qmail@pb1.pair.com... > Cirstoiu Aurel Sorin wrote: > > I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null. > > Is there an option so I can turn it on? > > If PHP > 4.1.0: > try $_SERVER['HTTP_HOST'] instead. You can also set register_globals = On in > the php.ini file (not recommended!) > > HTH > Erwin > >

« previous php.general (#115424) next »