ユーザエージェントから携帯キャリアを判別します。
$agent = $_SERVER['HTTP_USER_AGENT']; if(ereg(”^DoCoMo”, $agent)){ }else if(ereg(”^J-PHONE|^Vodafone|^SoftBank”, $agent)){ }else if(ereg(”^UP.Browser|^KDDI”, $agent)){ }
以上
Name
Mail (will not be published)
Website
Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.