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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php