<? echo str_replace('www.', '', $_SERVER['SERVER_NAME']);?>