有相关的置顶

源代码在线查看: adminsave.asp

软件大小: 200 K
上传用户: pengcong2008_
关键词:
下载地址: 免注册下载 普通下载 VIP

相关代码

				
								  if session("user")=""  then
				      response.redirect "login.asp"
					  response.end
				  end if
				%>
								dim rs
				id=request("id")
				admin=request("admin")
				pass=request("pass")
				Set rs=Server.CreateObject("ADODB.RecordSet") 
				sql="select * from manage where admin='"&request.cookies("user")&"'"
				rs.open sql,conn,1,3
				rs("admin")=admin
				rs("pass")=pass
				rs.update
				rs.close
				set rs=nothing
				conn.close  
				set conn=nothing
				response.write "" & chr(13)
						response.write "alert('修改成功!');" & Chr(13)
						response.write "window.document.location.href='hf.asp';"&Chr(13)
						response.write "" & Chr(13)
				Response.End
				%>			

相关资源