获得网页来访者IP地址的代码
一,获得网页来访者IP地址的代码是:[code]您的IP是: <% =Request.ServerVariables("REMOTE_ADDR") %> [/code]二,获得操作系统版本的代码是:[code]<% response.Write operationsystem & "<br>" & browser Q(M6W.b;Iden%u9z3gfunction operationsystem() '操作系统版本
agent = Request.ServerVariables("HTTP_USER_AGENT") g(]!e y'U$WHL ek2NM
if Instr(agent,"NT 5.2")>0 then
SystemVer="Windows Server 2003" 3Eihq} [e^-_
elseif Instr(agent,"NT 5.1")>0 then
SystemVer="Windows XP"
elseif Instr(agent,"NT 5")>0 then tRcWN
SystemVer="Windows 2000" 2P9wc6| qg];[M:P
elseif Instr(agent,"NT 4")>0 then