当前位置: 首页 > 图文教程 > 网络编程 > ASP > 发送信息页面send.asp--基于web的QQ程序3

ASP
bbs的树状结构算法
bbs的树状算法的补充程序
ASP.NET:访问Excel 电子表格
ADO.NET:ADODataReader类
ADO.NET:使用ADO.NET连接文本文件
session变量中的数组如何引用
外源.js的选择调用与一个.htm网站管理初探
验证email地址是否合法完整实例
不用Global.asa实现在线人数统计
为输入及输出的数据库的资料做造型
改进性能和样式的 25+ ASP 技巧(1)
改进性能和样式的 25+ ASP 技巧(2)
改进性能和样式的 25+ ASP 技巧(3)
改进性能和样式的 25+ ASP 技巧(4)
表单递交内容检测脚本-这里只接受数字
如何使replace方法不区分大小写?
在 Web 页上使用条件数值格式
如何用asp把sqlserver数据转换为execl文件
用ADO STREAM做的无组件上传程序简单介绍
如何在主页中控制浏览权限

ASP 中的 发送信息页面send.asp--基于web的QQ程序3


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-03   浏览: 28 ::
收藏到网摘: n/a

  发送信息页面send.asp--基于web的QQ程序3(only asp)
<html>
<head>
<title>发送信息页面</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<%if request("text")="" then%>
<body bgcolor="#FFFFFF" text="#000000">
发送给:<select size="1" name="name">
<%for i=1 to 30
if application("towho"&i)=session("user") then
a=application("from"&i)%>
  <option checked><%=a%></option>
<%else if application("user"&i)<>a then%>
<option><%=application("user"&i)%></option>
<%end if
end if
next%>
</select>
<br>
内容:<textarea rows="2" name="text" cols="20"></textarea>
</body><%else
for i=1 to 30
if application("towho"&i)="" then
application("towho"&I)=request("name")
application("from"&i)=session("user")
application("text"&i)=request("text")
end if
if application("towho"&i)=session("user") then
application("towho"&i)=""
application("text"&i)=""
application("from"&i)=""
end if
next

end if%>
</html>