10 月 15
ユーザエージェントから携帯キャリアを判別します。
$agent = $_SERVER['HTTP_USER_AGENT'];
if(ereg(”^DoCoMo”, $agent)){

}else if(ereg(”^J-PHONE|^Vodafone|^SoftBank”, $agent)){

}else if(ereg(”^UP.Browser|^KDDI”, $agent)){

}
以上

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.

© PHPress since 2008