[PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-08 Thread Steve Yates
"Cirstoiu Aurel Sorin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null. I believe your web server has to set that variable. Does phpinfo() show a value for it? - Steve Yates - Friends

Re: [PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Marek Kilimajer
Contents of the Host: header from the current request, if there is one. Does your browser send Host: ? If you use IP it doesn't Cirstoiu Aurel Sorin wrote: >This is not the problem. I understand what you mean. >Now you wrote wrong and I copy pasted. >I tried with $_SERVER['HTTP_HOST'] .

Re: [PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Cirstoiu Aurel Sorin
This is not the problem. I understand what you mean. Now you wrote wrong and I copy pasted. I tried with $_SERVER['HTTP_HOST'] . No effect. -- Cirstoiu Aurel Sorin InterAKT Support http://www.interakt.ro "Cirstoiu Aurel Sorin" <[

Re: [PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Cirstoiu Aurel Sorin
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" <[EMAIL PROTECTED]> wrote in me

Re: [PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Brad Bonkoski
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"

[PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Cirstoiu Aurel Sorin
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]..

[PHP] Re: HTTP_SERVER_VARS not working. Please help

2002-09-06 Thread Erwin
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 Gene