设为首页 | 加入收藏 | 
ASP代码获取用户计算机信息之获取用户的操作系统
作者:佚名 时间:04月24日 来源:互联网 浏览次数:【字号: 】 

获取用户的操作系统


泡泡ASP相关代码:
<%
function system(text)
if Instr(text,"NT 5.2")>0 then
system = system + "Windows 2003"
elseif Instr(text,"NT 5.1")>0 then
system = system+"Windows XP"
elseif Instr(text,"NT 5")>0 then
system = system+"Windows 2000"
elseif Instr(text,"NT 4")>0 then
system = system+"Windows NT4"
elseif Instr(text,"4.9")>0 then
system = system+"Windows ME"
elseif Instr(text,"98")>0 then
system = system+"Windows 98"
elseif Instr(text,"95")>0 then
system = system+"Windows 95"
else
system = system+"未知"
end if
end function
%>


你的操作系统: <% response.write system(Request.ServerVariables("HTTP_USER_AGENT")) %>

 

 * 以上任何内容或信息侵犯了你的利益,请及时联系!
泡泡搜索
最新文章
热点文章
精彩推荐
 - TOP