Re: Re: HTTP_SERVER_VARS not working. Please help
| From: | Brad Bonkoski | Date: | Fri, 06 Sep 2002 10:17:26 +0000 |
| Subject: | Re: Re: HTTP_SERVER_VARS not working. Please help | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115426@lists.php.net to get a copy of this message | ||
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:inI 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 = Onthe php.ini file (not recommended!) HTH Erwin