if(!ereg("www",$PHP_SELF)) header("Location:www.seninsiten.com");

gibi bişiler saçmaladm olr sanırm ama