摘要: 1 $mobile_browser = '0'; 2 3 if(preg_match('/(up.browser|up.link|mmp|symbian|smartphone|midp|wap|phone)/i', strtolower($_SERVER['HTTP_USER_AGENT']))) { 4 $mobile_browser++; 5 } 6 7 if((strpos(strtolower($_SERVER['HTTP_ACCEPT']),'application/vnd.wap.xhtml+xml') 阅读全文
posted @ 2013-05-06 13:41 EvanSin 阅读(383) 评论(0) 推荐(0) 编辑
摘要: Resource interpreted as Script but transferred with MIME type application/x-js解决:open upregeditand take a look at this registry key:change its value from text/plain to text/javascript.http://stackoverflow.com/questions/12003107/resource-interpreted-as-script-but-transferred-with-mime-type-text-plain 阅读全文
posted @ 2013-05-06 10:33 EvanSin 阅读(491) 评论(0) 推荐(0) 编辑