hi anybody tell me, how to get the HOST name.
echo $_SERVER['REMOTE_ADDR'];
by this I can get the IP, But If i want to get the Domain name then what to do, like I want to know "http://www.phpbuilder.com" at run time of scipt,
pls help me out
echo $_SERVER['HTTP_HOST'];