c_xiugai.asp
来自「Asp源码交易频道 可对商品的添加、修改、删除」· ASP 代码 · 共 24 行
ASP
24 行
<!--#include file="d_lj.asp" -->
<%
tiezi=clng(request("tiezi"))
xinqing=Request.Form("xinqing")
biaoti=Trim(Request.Form("biaoti"))
neirong=Trim(Request.Form("neirong"))
mingzi=request.Cookies("mingzi")
cmima=request.Cookies("mima")
if Instr(mingzi,"=")>0 or Instr(mingzi,"'")>0 or Instr(mingzi,"(")>0 or Instr(mingzi,")")>0 then
response.Redirect("b_bankuai.asp")
end if
set yz=lj.execute("select mima from huiyuan where mingzi='"& mingzi &"'")
if yz("mima")<>cmima then
response.Redirect("b_bankuai.asp")
end if
if biaoti="" or neirong="" then
response.Redirect("b_xiugai.asp?fanhui=kong")
end if
if len(neirong)>65535 then
response.Redirect("b_xiugai.asp?fanhui=duo")
end if
lj.execute("update tiezi set xinqing="& xinqing &",biaoti='"& biaoti &"',neirong='"& neirong &"' where xuhao="& tiezi &"")
response.Redirect("b_kantie.asp?tiezi="& tiezi &"")
%>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?