帮我把这段代码翻译一下,解释的清楚一点,谢谢。

来源:百度知道 编辑:UC知道 时间:2024/05/16 08:52:56
<!--#include file = "hfzcon.asp"-->
<!--#include file = "consol/md5.asp"-->
<%
if request.QueryString("action") = 1 then
if session("GetCode") = cint(trim(request("yanzhen"))) then
set xxrs = server.CreateObject("adodb.recordset")
xxrs.open "select top 1 loginname from admin where loginname = '"&request("count")&"' and pass ='"&MD5(trim(request("pass")))&"'",cnconn,1,1
if xxrs.recordcount>0 then
session("loginname") = xxrs.fields("loginname")
xxrs.close
set xxrs = nothing
response.Redirect("consol/redirect.asp")
else
response.Write("<script>alert('登陆失败,请确认您的账号和密码!')</script>")
response.Write("<script>history.go(-1)</script>")
end if
else
response.Write(&q

明明是ASP+HTML嘛,怎么会是C呢

可是这个要怎么翻译呢,asp没有中文的函数啊

难不成ASP要写成这样??

引用文件 hfzcon.asp
引用文件 consol/md5.asp
如果 传递参数("action") = 1 则
如果 服务器缓存("GetCode") = 格式化数字(两边去空格(传递参数("yanzhen"))) 则
下边的俺不翻译了,要吐血了

这个怎么翻译啊,用超能力?自己把它复制写字板里面,然后命名为“HTML”格式的就OK了!

火星人也难办

C的跑到这儿问?最好去VC/C++去