国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > 建站經驗 > 正文

asp 判斷!客戶端操作系統

2019-11-02 15:30:57
字體:
來源:轉載
供稿:網友

判斷客戶端操作系統
 Function GetOs(content,systemOrBrowser)
  Dim temp
  temp = Split(content,";")
  Select Case systemOrBrowser
   Case 0
    If InStr(Content,"Windows NT 6.0") Then
     GetOs = "Windows Vista"
    ElseIf InStr(Content,"Windows NT 5.2") Then
     GetOs = "Windows 2003"
    ElseIf InStr(Content,"Windows NT 5.1") Then
     GetOs = "Windows XP"
    ElseIf InStr(Content,"Windows NT 5.0") Then
     GetOs = "Windows 2000"
    ElseIf InStr(Content,"Windows NT") Then
     GetOs = "Windows NT"
    ElseIf InStr(Content,"Windows 9") Then
     GetOs = "Windows 9x"
    ElseIf InStr(Content,"unix") Then
     GetOs = "Unix"
    ElseIf InStr(Content,"linux") Then
     GetOs = "Linux"
    ElseIf InStr(Content,"SunOS") Then
     Get

歐美電影[www.aikan.tv/xzhtml/10/]
Os = "SunOS"
    ElseIf InStr(Content,"BSD") Then
     GetOs = "BSD"
    ElseIf InStr(Content,"Mac") Then
     GetOs = "Mac"
    Else
     GetOs = "Other"
    End If
   Case 1
    If InStr(content,"Opera") Then
     GetOs = Replace(Left(content,InStr(content,"(") - 1),"/"," ")
    ElseIf InStr(content,"MSIE") > 0  Then
     GetOs = Trim(temp(1))
    Else
     GetOs = Replace(Right(temp(4),Len(temp(4)) - InstrRev(temp(4)," ")),"/"," ")
    End if
  End Select
 End Function

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 综艺| 周至县| 抚州市| 长葛市| 日喀则市| 铜梁县| 东丰县| 老河口市| 楚雄市| 五河县| 永州市| 湘潭县| 安宁市| 准格尔旗| 崇明县| 乌拉特前旗| 武乡县| 万全县| 东乡族自治县| 华安县| 泾阳县| 青浦区| 石首市| 木里| 方城县| 长顺县| 汶川县| 山西省| 太谷县| 邢台市| 伊宁县| 油尖旺区| 鄄城县| 高密市| 锦州市| 新郑市| 仲巴县| 女性| 余江县| 德江县| 凤庆县|