你好:又要给你添麻烦了,我修改了密码,空间后台可以打开,主机密码改不掉,ftp无法上传,我想把空间内容

杨牧源_13 2024-11-17 17:45:53
最佳回答
<% dim rs dim rs_numrows set rs = server.createobject("adodb.recordset") rs.activeconnection = mm_rs_string rs.source = "select pass, user from admin" rs.cursortype = 0 rs.cursorlocation = 2 rs.locktype = 1 rs.open() rs_numrows = 0 %> <% ' *** validate request to log in to th** site. mm_loginaction = request.servervariables("url") if request.querystring<>"" then mm_loginaction = mm_loginaction + "?" + server.htmlencode(request.querystring) mm_valusername=cstr(request.form("user")) if mm_valusername <> "" then mm_flduserauthorization="" mm_redirectloginsuccess="read.asp" mm_redirectloginfailed="login.asp" mm_flag="adodb.recordset" set mm_rsuser = server.createobject(mm_flag) mm_rsuser.activeconnection = mm_rs_string mm_rsuser.source = "select user, pass" if mm_flduserauthorization <> "" then mm_rsuser.source = mm_rsuser.source & "," & mm_flduserauthorization mm_rsuser.source = mm_rsuser.source & " from admin where user='" & replace(mm_valusername,"'","''") &"' and pass='" & replace(request.form("pass"),"'","''") & "'" mm_rsuser.cursortype = 0 mm_rsuser.cursorlocation = 2 mm_rsuser.locktype = 3 mm_rsuser.open if not mm_rsuser.eof or not mm_rsuser.bof then ' username and password match - th** ** a valid user session("mm_username") = mm_valusername if (mm_flduserauthorization <> "") then session("mm_userauthorization") = cstr(mm_rsuser.fields.item(mm_flduserauthorization).value) else session("mm_userauthorization") = "" end if if cstr(request.querystring("accessdenied")) <> "" and false then mm_redirectloginsuccess = request.querystring("accessdenied") end if mm_rsuser.close response.redirect(mm_redirectloginsuccess) end if mm_rsuser.close response.redirect(mm_redirectloginfailed) end if %> 20210311
汇率兑换计算器

类似问答
汇率兑换计算器

热门推荐
热门问答
最新问答
推荐问答
新手帮助
常见问题
房贷计算器-九子财经 | 备案号: 桂ICP备19010581号-1 商务联系 企鹅:2790-680461

特别声明:本网为公益网站,人人都可发布,所有内容为会员自行上传发布",本站不承担任何法律责任,如内容有该作者著作权或违规内容,请联系我们清空删除。