asp源码,就是用ASP写的代码
ASP源程序是用VBscript,jscript脚本编写的,在windows系统下运行
参考资料:白度
给你看看一些真实的asp源代码:
<html>
<head><title>Clint info</title></head>
<body>
Clint info:
Host: <% =Request.ServerVariables("REMOTE_HOST") %>
IP: <% =Request.ServerVariables("REMOTE_ADDR") %>
Port: <% =Request.ServerVariables("REMOTE_PORT") %>
Browser: <% =Request.ServerVariables("HTTP_USER_AGENT") %>
Logon User: <% =Request.ServerVariables("LOGON_USER") %>
Remot Username: <% =Request.ServerVariables("REMOT_USER") %>
</body>
</html>
这个代码可以显示访问者的浏览器和操作系统信息。
在我自己电脑上运行,结果可能是这样的:
Clint info:
Host: 127.0.0.1
IP: 127.0.0.1
Port: 1838
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Logon User: PCNAME\Username
Remot Username: