There are currently 5 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
1032 4
今天我在我的筆記本上安裝了IIS7,寫了一個ASP程序作為測試
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 1 Posted at: 10/10/15 11:05
<%
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))
%>
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 2 Posted at: 10/10/15 11:06
程序運行結果:
<!doctype html>
<html>
<head>
<title>ASP Test Page</title>
</head>
<body>
ASP Test<br>
a = 40
</body>
</html>

巨大八爪鱼
武林盟主 二十一级
Reply
Floor 3 Posted at: 10/10/15 11:07
我很久都沒有用過ASP了。今天在Win7旗艦版上裝了IIS7,只是孫便測試一下而已。
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 4 Posted at: 10/10/15 11:08
Apache的端口被我改到了8080 (http://localhost:8080/),因為80端口已經被IIS7佔用了。
巨大八爪鱼
武林盟主 二十一级
Reply
Floor 5 Posted at: 10/10/15 11:10
以前我在台式機上用的是Windows 7 家用版本的,所以沒法裝ASP開發環境。ASP就是有這樣的缺點。不像PHP可以在任何平台上安裝。
Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 1032 Replies: 4
Author: 巨大八爪鱼
Last reply: 巨大八爪鱼
Last reply time: 10/10/15 11:10
Announcements