會新增一個 app.manifest 檔案
將裡面的
〈requestedexecutionlevel level="asInvoker" uiaccess="false"〉〈/requestedexecutionlevel〉
修改為〈requestedexecutionlevel level="requireAdministrator" uiaccess="false"〉〈/requestedexecutionlevel〉
$str = $_SERVER["HTTP_USER_AGENT"]; if(strpos($str,"MSIE")) $browser = "IE"; else if(strpos($str,"Firefox")) $browser = "FF"; else if(strpos($str,"Chrome")) $browser = "CH"; else if(strpos($str,"Opera")) $browser = "OP"; else if(strpos($str,"Konqueror")) $browser = "Kq"; else if(strpos($str,"iPhone")) $browser = "iPhone"; else if(strpos($str,"iPad")) $browser = "iPad"; else if(strpos($str,"Android")) $browser = "Android"; else if(strpos($str,"Safari")) $browser = "Sa"; else { $browser = "other"; }