- バックアップ一覧
- バックアップ を表示
- PHPでパソコンサイトと携帯サイト振り分け は削除されています。
- 1 (2008-09-03 (水) 22:27:14)
<?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;
}
?>