<?php $UA = $_SERVER{'HTTP_USER_AGENT'}; 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; } ?> ---- PHP パソコン 携帯 ケータイ 振り分け 識別 ホームページ Webページ PHP パソコン 携帯 ケータイ 振り分け 識別 ホームページ Webページ~ &size(12){Total:&counter(total); / Today:&counter(today); / Yesterday:&counter(yesterday);};