if (!eregi ("www",$_SERVER['SERVER_NAME'])) { header ("Location: http://www.{$_SERVER['SERVER_NAME']}{$_SERVER['REQUEST_URI']}"); }