Dominique,

You have a space after HTTP_HOST. I think

"HTTP_HOST "

should be

"HTTP_HOST"

Regards

Chris

Dominique van der Wal wrote:

>Hi,
>
>I'm trying to find the HTTP_HOST adress of my website.
>
>I've try the followings :
>
>$HTTP_HOST  : nothing
>$ALL_HTTP["HTTP_HOST "] : nothing
>$_SERVER["HTTP_HOST "] : nothing
>
>
>But when I print $ALL_HTTP or $_SERVER, I obtain the followings lines :
>
>HTTP_ACCEPT_CHARSET iso-8859-1,*,utf-8
>HTTP_ACCEPT_LANGUAGE en,fr-BE
>HTTP_ACCEPT_ENCODING gzip
>HTTP_PRAGMA no-cache
>HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
>HTTP_HOST 193.190.218.xxx
>
>So, how can I receive this damned HTTP_HOST adress ?
>
>Thank you in advance
>Dominique van der Wal
>
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to