|
今天我在我的笔记本上安装了IIS7,写了一个ASP程序作为测试 |
一派掌門 二十級 |
<% Dim title title = "ASP Test Page" Response.Write("<!doctype html>" & chr(13)) Response.Write("<html>" & chr(13)) Response.Write("<head>" & chr(13)) Response.Write("<title>" & title & "</title>" & chr(13)) Response.Write("</head>" & chr(13))
Response.Write("<body>" & chr(13)) Dim a a = 40 Response.Write("ASP Test<br>" & chr(13) & "a = " & a & chr(13)) Response.Write("</body>" & chr(13)) Response.Write("</html>" & chr(13)) %>
|
一派掌門 二十級 |
程序运行结果: <!doctype html> <html> <head> <title>ASP Test Page</title> </head> <body> ASP Test<br> a = 40 </body> </html>
|
|
一派掌門 二十級 |
我很久都没有用过ASP了。今天在Win7旗舰版上装了IIS7,只是孙便测试一下而已。
|
|
一派掌門 二十級 |
Apache的端口被我改到了8080 (http://localhost:8080/),因为80端口已经被IIS7占用了。
|
|
一派掌門 二十級 |
以前我在台式机上用的是Windows 7 家用版本的,所以没法装ASP开发环境。ASP就是有这样的缺点。不像PHP可以在任何平台上安装。
|
|