Posted by ctclibby on 12/05/10 11:50
Puneet wrote:
> Nope.. If i use your code.. then I am getting this..
>
> PHP Notice: Undefined index: HTTP_HOST in C:\Program Files\Apache
> Group\Apache2\htdocs\_debug_tmp.php on line 5
>
>
> If i use
> Print "Host is : $_SERVER ['HTTP_HOST']";
............................................^
That a space between the SERVER and ['HTTP Oops, take it out.
[Back to original message]
|