此程序为网上下载

源代码在线查看: adminpass.asp

软件大小: 974 K
上传用户: bobey
关键词: 程序
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
								nickname=Session("hxf_u_nickname")
				If nickname="" Then Response.Redirect "error.asp?id=002"
				If nickname  "聊天室管理员" Then Response.Redirect "error.asp?id=002"
				f1 = Request.Form("f1")
				f2 = Request.Form("f2")
				f3 = Request.Form("f3")
				If f1 = "" Or f2 = "" Or f3 = "" Then Response.Redirect "error.asp?id=002"
				If f2  f3 Then Response.Redirect "error.asp?id=002"
				Set conn=Server.CreateObject("ADODB.CONNECTION")
				Set rs=Server.CreateObject("ADODB.RecordSet")
				connstr=Application("wsaxhg_connstr")
				conn.open connstr
				sql = "SELECT value FROM system WHERE name='backadmin'"
				rs.open sql, conn, 1, 3
				rs("value")=md5(f1&f2)
				rs.Update
				rs.Close
				conn.Close
				Set rs = Nothing
				Set conn = Nothing
				Application.Lock
				Application("wsaxhxf_c_backadmin")=md5(f1&f2)
				Application.UnLock
				Response.Redirect "ok.asp?id=100&new="&f2
				%>			

相关资源