$UA = $_SERVER{'HTTP_USER_AGENT'}; if (substr_count($UA,"DoCoMo")) { header("Location: http://www.kamitori.com/m/index.cgi"); exit; } else if (substr_count($UA,"SoftBank")) { header("Location: http://www.kamitori.com/m/index.cgi"); exit; } else if (substr_count($UA,"vodafone")) { header("Location: http://www.kamitori.com/m/index.cgi"); exit; } else if (substr_count($UA,"UP.Browser")) { header("Location: http://www.kamitori.com/m/index.cgi"); exit; } ?>
