andorid IOS 判断APP下载

<?php
if(strpos($_SERVER['HTTP_USER_AGENT'], 'iPhone')||strpos($_SERVER['HTTP_USER_AGENT'], 'iPad')){
 
   Header("Location:http://www.guanzhu.mobi/ipa/app/en1y");
}else if(strpos($_SERVER['HTTP_USER_AGENT'], 'Android')){
   Header("Location: http://www.playgamestudio.com/app/app-release_10_jiagu_sign.apk ");
}else{
   Header("Location: http://www.playgamestudio.com/app/app-release_10_jiagu_sign.apk ");

}
?>

posted @ 2017-02-24 13:45  smile001  阅读(1037)  评论(0编辑  收藏  举报