- 追加された行はこの色です。
- 削除された行はこの色です。
<?php
if (substr_count($UA,"DoCoMo")) {
header("Location: http://www.docomo");
exit;
} else if (substr_count($UA,"SoftBank")) {
header("Location: http://www.softbank");
exit;
} else if (substr_count($UA,"vodafone")) {
header("Location: http://www.vodafone");
exit;
} else if (substr_count($UA,"Vodafone")) {
header("Location: http://www.Vodafone");
exit;
} else if (substr_count($UA,"J-PHONE")) {
header("Location: http://www.j-phone");
exit;
} else if (substr_count($UA,"UP.Browser")) {
header("Location: http://www.au");
exit;
} else if (substr_count($UA,"WILLCOM")) {
header("Location: http://www.willcom");
exit;
} else {
header("Location: http://www.pc");
exit;
}
?>