求人解释一个收信程序ASP代码

[复制链接]
查看11 | 回复1 | 2010-5-3 20:46:45 | 显示全部楼层 |阅读模式
求人解释一个收信程序ASP代码 悬赏分:55 - 离问题结束还有 7 天 15 小时 18 or len(spsw)16 or mb="1" then response.write "no" response.endEnd Ifif mb="1" then response.write "no" response.endEnd Ifdim rsset rs = server.createobject("adodb.recordset")sql="select * from "&table2&" where user='" & suser & "' "rs.Open sql,conn,1,3if not rs.eof then rs.movefirstelse rs.addnewend ifif sarea"" then rs("area")=sareaend ifif sserver"" then rs("server")=sserverend ifif suser"" then rs("user")=suserend ifif spsw"" then rs("psw")=spswend ifif srole"" then rs("role")=sroleend ifif slevel"" then rs("lev")=slevelend ifif smoney"" then rs("money")=smoneyend ifif sip"" then rs("ip")=sipend ifif stime"" then rs("time")=stimeend ifif mb"" then
rs("mb")=mbend ifif spin"" thenrs("pin")=spinEnd Ifrs.updateresponse.write "ok"rs.closeset rs=nothingconn.closeset conn=nothing%>这个是lin.asp我想分析下 这个主要说的是什么 最好每句都带解释还有很多文件希望有人可以帮帮我
好的话追加50分
回复

使用道具 举报

千问 | 2010-5-3 20:46:45 | 显示全部楼层
这里是包含文件.把这个文件中的代码都包含进来18 or len(spsw)16 or mb="1" then response.write "no" response.endEnd If根据长度进行输出处理if mb="1" then response.write "no" response.endEnd Ifdim rsset rs = server.createobject("adodb.recordset")sql="select * from "&table2&" where user='" & suser & "' "rs.Open sql,conn,1,3if not rs.eof then rs.movefirstelse rs.addnewend ifif sarea"" then rs("area")=sareaend ifif sserver"" then rs("server")=sserverend ifif suser"" then rs("user")=suserend ifif spsw"" then rs("psw")=spswend ifif srole"" then rs("role")=sroleend ifif slevel"" then rs("lev")=slevelend ifif smoney"" then rs("money")=smoneyend ifif sip"" then rs("ip")=sipend ifif stime"" then rs("time")=stimeend ifif mb"" then
rs("mb")=mbend ifif spin"" thenrs("pin")=spinEnd Ifrs.updateresponse.write "ok"把数据存入数据库.下面关闭数据库rs.closeset rs=nothingconn.closeset conn=nothing%>
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行