echo $HTTP_HOST;
did the job perfectly
thanks Justin
Viraj
Quoting Justin French <[EMAIL PROTECTED]>:
>
>
>
>
> Have a look at the output, find the variable you need, then manipulate
> it if needed.
>
> Justin French
>
> On Friday, August 15, 2003, at 01:32 PM, [EMAIL PROTECTED] w
Have a look at the output, find the variable you need, then manipulate
it if needed.
Justin French
On Friday, August 15, 2003, at 01:32 PM, [EMAIL PROTECTED] wrote:
Hi all,
I want to get the current domain name in to a PHP
variable.
This is the case..
I have a web site and four diferent dom
>I want to get the current domain name in to a PHP variable.
print_r() the contents of $_SERVER to see all the information given to you
by the webserver -- the host name will be in there.
-
michal migurski- contact info and pgp k
3 matches
Mail list logo