📄 saveup.asp
字号:
<%
if session("admin")="" and session("flag")="" then
response.redirect "admin.asp"
end if
%>
<%
'=================================================
' Copyright 2005-09 jinqiu. All Rights Reserved.
' Last Update: 2005-09-24 HTTP://CZGPRS.COM
' E-Mail: 0768cz@21cn.com QQ:316801451
'=================================================
%>
<!--#INCLUDE FILE="conn.asp" -->
<!-- #include file="char.asp" -->
<%
set rs=server.createobject("adodb.recordset")
sql="select * from upset where id=1"
rs.open sql,conn,3,3
rs("allowedfile")=request("allowedfile")
rs("filesize")=request("filesize")
rs("forceup")=request("forceup")
rs("formPath")=request("formPath")
rs("namekind")=request("namekind")
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
Response.Write "<script>window.alert('上传设置成功!');window.location='up.asp';</script>"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -