摘要:
//mobile false pc true no pc function is_mobile(){ $agent = strtolower($_SERVER['HTTP_USER_AGENT']); $is_pc = (strpos($agent, 'windows nt')) ? true ... 阅读全文
摘要:
//获取浏览器function getBrowse(){ global $_SERVER; $Agent = $_SERVER['HTTP_USER_AGENT']; $browseinfo=''; if(ereg('Mozilla', $Agent) && !ereg('M... 阅读全文