php判断android

$agent = strtolower($_SERVER['HTTP_USER_AGENT']);
if(strpos($agent, 'android')){}

posted @ 2017-03-23 10:31  小白3  阅读(91)  评论(0编辑  收藏  举报