讨论交流:http://x8.maicoo.com/team/10652.html
ASP(英文全称Active Server Pages)是一个编程环境,在其中,可以混合使用HTML、脚本语言以及组件来创建服务器端功能强大的Internet应用程序。 如果您以前创建过一个站点,其中混合了HTML、脚本语言以及组件,您就可以在其中加入ASP程序代码。并且,还可以通过使用组件包含一些商业逻辑规则。组件可以被脚本程序调用,也可以由其他的组件调用。下面列举了十九个ASP脚本语言的个基本技巧使用:<%=now%> 即可
each item request.From("input"))
repomse.write item &"<br>"
next
%>
<% for i=1 to 5 %>
<font size=<% =i %> color=#00ffff>
快速ASP
</font>
<br>
<% next %>
如:<% response.write "Welcome" %>
如:<% response.redirect "homepage.asp">
如:早上显示早安,下午显示你好
<%
if time>+#12:00:00 AM# and time<#12:00:00 PM #
then
greeting="早安!"
else
greeting="你好!"
end if
%>
<%=greeting %>
例:
<html>
<body>
<% call function1 %>
</body>
</html>
<script runat=server language=javascript>
function function1()
{
...
}
</script>