东大国际学术交流中心:action=FormatSQL(SafeRequest("action",0))什么意思啊?

来源:百度文库 编辑:神马品牌网 时间:2024/05/16 01:28:45
<title>我的购物车</title>
<%
dim id,username,action
action=FormatSQL(SafeRequest("action",0))
id=SafeRequest("id",1)
username=trim(request.cookies("timesshop")("username"))

select case action
case "del"
conn.execute "delete from orders where actionid="&FormatSQL(SafeRequest("actionid",1))
if SafeRequest("ll",1)=22 then
response.redirect "profile.asp?action=addtocart"
else
response.redirect "addto.asp?action=show"
end if
response.End

其中action=FormatSQL(SafeRequest("action",0))
id=SafeRequest("id",1)
是什么意思啊?还有
conn.execute "delete from orders where actionid="&FormatSQL(SafeRequest("actionid",1))
if SafeRequest("ll",1)=22 then
小弟新手 ,看不懂