Advertisement
| null |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: |
httpUserAgent=Request.ServerVariables("HTTP_USER_AGENT")
IP = request.servervariables("REMOTE_ADDR")
if inStr(httpUserAgent, "MSIE 5") <> 0 then
browser="Microsoft Internet Explorer 5"
Elseif inStr(httpUserAgent, "MSIE 5.1") <> 0 then
browser="Microsoft Internet Explorer 5.1"
Elseif inStr(httpUserAgent, "MSIE 5.5") <> 0 then
browser="Microsoft Internet Explorer 5.5"
Elseif inStr(httpUserAgent, "MSIE 6") <> 0 then
browser="Microsoft Internet Explorer 6"
Elseif inStr(httpUserAgent, "MSIE 7") <> 0 then
browser="Microsoft Internet Explorer 7"
Elseif inStr(httpUserAgent, "/4.7") <> 0 then
browser="Netscape 4.7x"
Elseif inStr(httpUserAgent, "Netscape6") <> 0 then
browser="Netscape 6"
Elseif inStr(httpUserAgent, "Netscape/7") <> 0 then
browser="Netscape 7"
Elseif inStr(httpUserAgent, "Opera 5") <> 0 then
browser="OPERA 5"
Elseif inStr(httpUserAgent, "Opera 6") <> 0 then
browser="OPERA 6"
Elseif inStr(httpUserAgent, "Opera/7") <> 0 then
browser="OPERA 7"
Elseif inStr(httpUserAgent, "Mozilla/5.0") <> 0 then
browser="Mozilla 6"
Elseif inStr(httpUserAgent, "Mozilla/4.0") <> 0 then
browser="Mozilla 4"
Elseif inStr(httpUserAgent, "Mozilla/3.0") <> 0 then
browser="Mozilla 3"
Else
browser="Unknown"
End If
if inStr(httpUserAgent, "Windows NT 5.1") <> 0 then
op="Windows XP"
Elseif inStr(httpUserAgent, "Windows NT 6.0") <> 0 then
op="Windows Vista"
Elseif inStr(httpUserAgent, "Windows NT 5.0") <> 0 then
op="Windows 2000"
Elseif inStr(httpUserAgent, "Windows NT 4.0") <> 0 then
op="Windows NT"
Else
op="NOT Windows XP, Vista, 2000 or NT!"
End If
Response.write "IP Address: " & IP
Response.Write chr(13) & chr(10)
Response.Write chr(13) & chr(10)
Response.write "Browser: " & browser
Response.Write chr(13) & chr(10)
Response.Write chr(13) & chr(10)
Response.write "Operating System: " & op
|
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
|
Loading Advertisement... |