rag001
rag001
关注数: 21
粉丝数: 53
发帖数: 92
关注贴吧数: 8
马戏团今日惊险2区网通范达尔鹿盔 今日是万圣节4.2世界同步的第一个节日。范达尔鹿盔从;凌晨1点就开始万圣节,居然到下午6点万圣节就结束了,各种不能玩。破天荒看到马戏团惊险闪金镇!!!!!
请教一个有关trpass的问题 物品做了个登陆的界面,有个进入系统时输入用户名密码的,和数据库连接后,提交出现的问题如下:Microsoft VBScript 编译器错误 错误 '800a03f6' 缺少 'End' /iisHelp/common/500-100.asp,行242 Microsoft VBScript 运行时错误 错误 '800a000d' 类型不匹配: 'trpass' /admin/gl.asp,行23 。为方便查阅。我将全部的代码粘贴如下,哪位高手不吝指教,不胜感激: <%yh=trim(request.form("username")) mm=trim(request.form("password")) if yh="" or mm="" then%> alert("用户名和密码不能为空\n请重新输入!"); history.go(-1); <% conn.close set conn=nothing end if mm=trpass(mm) session("yonghu")=yh set mima=conn.execute("select pass, system from guanliyuan where name=('"&yh&"')") if mima.eof then %> alert("用户名不存在\n请确认你是否有管理权限!"); history.go(-1); <%else while not mima.eof pw=mima("pass") xt=mima("system") mima.movenext wend mima.close session("xitong")=xt set mima=nothing conn.close set conn=nothing end if if pw<>mm then%> alert("密码错误\n请重新输入!"); history.go(-1); <%else response.redirect "main.asp" end if%> 这段是body之间的代码,我用的是asp。
1
下一页