用户代理的iPhone浏览器来从用户代理检测 的Mozilla/5.0(iPhone; U; CPU iPhone OS 4_0像Mac OS X的; EN-US) 为AppleWebKit/532.9(KHTML,例如Gecko)版 /4.0.5移动/ 8A293 的Safari/6531.22.7 我们er-Agent for iPhone App Mozilla/5.0(iPhone; U;
我需要人们使用PHP检测设备显示分辨率的帮助。 我的代码是麻烦的切换界面,我有以下代码时: $_page="home";
if(get('page'))
$_page=strtolower(get('page'));
// Check if larger than 800px screen will show this code.
$_pagePath='Includes/desk