取得服务器当前时间
用户IP
这两个用asp得到
用户操作系统、浏览器信息:
<script>
alert(navigator.appVersion)
</script>

解决方案 »

  1.   

    use xmlhttp obj:
    --------------------------
    index.htm 
    -----------
    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>新建网页 1</title>
    </head><body>
    <input type=button onclick="showServerTime()" value="serverTime"><script language="javascript">
    <!--
    function showServerTime()
    {
    var oHttp = new ActiveXObject("Microsoft.XMLHTTP");
    oHttp.open("POST","Default.asp",false);
    oHttp.send();
    alert(oHttp.responseText);
    }
    //-->
    </script>
    </body></html>getTime.asp
    ------------------
    <%
    Response.write Now()
    %>