function browser ($pass_br) {
if (eregi("IE", $pass_br)) { $browser = "IE";
} else { $browser = "kitas";
}
return $browser;
}
$user_agent = $HTTP_SERVER_VARS["HTTP_USER_AGENT"];
$user_agent_abs_abs = browser ($user_agent);
if($user_agent_abs_abs == "IE") {
header( 'Location: http://google.lt') ;
}