Re: Re: HTTP_SERVER_VARS not working. Please help

From: Date: Fri, 06 Sep 2002 10:22:18 +0000
Subject: Re: Re: HTTP_SERVER_VARS not working. Please help
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-115427@lists.php.net to get a copy of this message
Yes, I ment $_SEVER['HTTP_HOST'] but I wrote wrong. Still nothing. What is the problem?? This should work but is not. -- -------------------------------- Cirstoiu Aurel Sorin InterAKT Support http://www.interakt.ro -------------------------------- "Brad Bonkoski" <bbonkosk@tampabay.rr.com> wrote in message news:3D7880B6.4060502@tampabay.rr.com... > that's: $_SEVER['HTTP_HOST'] > > Cirstoiu Aurel Sorin wrote: > > 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 (#115427) next »