如何编写一个最简单的聊天程序?
- 技术交流
- 2024-10-01 10:19:02
chat.html
chatopinions.asp
<% =Application("A9") %><% =Application("B9") %>
<% =Application("A8") %><% =Application("B8") %>
<% =Application("A7") %><% =Application("B7") %>
<% =Application("A6") %><% =Application("B6") %>
<% =Application("A5") %><% =Application("B5") %>
<% =Application("A4") %><% =Application("B4") %>
<% =Application("A3") %><% =Application("B3") %>
<% =Application("A2") %><% =Application("B2") %>
<% =Application("A1") %><% =Application("B1") %>
Get your chat at Submitside: free script.
chatform.asp
<%
If Request.Form ("Opinion")="" then
ShowForm()
else
if Session("AA")="" then
NewUser()
GoAhead()
else
GoAhead()
end if
end if %>
<% Sub ShowForm() %>
<% End Sub %>
<% Sub GoAhead() %>
<%
BB=Request.form("Opinion")
BB=server.htmlencode(BB)
Application.Lock
Application("B1")=Application("B2")
Application("B2")=Application("B3")
Application("B3")=Application("B4")
Application("B4")=Application("B5")
Application("B5")=Application("B6")
Application("B6")=Application("B7")
Application("B7")=Application("B8")
Application("B8")=Application("B9")
Application("B9")=BB
Application("A1")=Application("A2")
Application("A2")=Application("A3")
Application("A3")=Application("A4")
Application("A4")=Application("A5")
Application("A5")=Application("A6")
Application("A6")=Application("A7")
Application("A7")=Application("A8")
Application("A8")=Application("A9")
Application("A9")=Session("AA")
Application.Unlock
%>
<% End Sub %>
<% Sub NewUser() %>
<%
AA=Request.form("Name")
AA=server.htmlencode(AA)
Session("AA")=AA
%>
<% End Sub %>
[1]
如何编写一个最简单的聊天程序?由讯客互联技术交流栏目发布,感谢您对讯客互联的认可,以及对我们原创作品以及文章的青睐,非常欢迎各位朋友分享到个人网站或者朋友圈,但转载请说明文章出处“如何编写一个最简单的聊天程序?”