?? changepass.asp
字號(hào):
<!-- #include file="conn.asp" -->
<html>
<head>
</head>
<body bgcolor="">
<center>
<br><br><br>
<FONT face=Georgia color=#cc0033 size=2><b>Welcome Administrator</font><br><br>
<%
opass = request.form("opass")
pass = request.form("pass")
Set oRs = Server.CreateObject("ADODB.RecordSet")
SQL = "select password from users where password='"&opass&"'"
oRs.open SQL,objcon,2,3
if oRs.EOF then
response.write "your old password doesn't match"
else
ors("password") = pass
ors.update
response.write "<Font face=Tahoma size=2>Password changed successfully</Font><br><br>"&_
"<Font face=Tahoma size=1><a href=admin_options.asp>Go to options page</a></Font>"
end if
oRs.close
Set oRs = nothing
%>
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -