ewebsave.asp

来自「Follow me超级搜索引擎V6.2(完美版)绝对是目前全国功能最优秀的超级搜」· ASP 代码 · 共 49 行

ASP
49
字号
<!--#include File="../Conn.asp" -->
<!--#include File="up1.asp" -->
<%
dbpath="../"
dblink
%>
<!--#include file="check.asp"-->
<%

dim request2

'建立上传对象
set request2=New UpLoadClass

	'设置字符集
	request2.Charset="gb2312"

	'打开对象
	request2.Open()

set rs=server.createobject("adodb.recordset")
sql="select * from adminuser where username like '"&Session("admin")&"' "
rs.open sql,conn,1,3

if request2.Form("strPhoto")<>"" then
ppic="images/"+request2.Form("strPhoto")

else
ppic=rs("logo")
end if

rs("bbsgcolor")=request2.Form("bbsgcolor")
rs("webname")=request2.Form("webname")
rs("myurl")=request2.Form("myurl")
rs("title")=request2.Form("title")
rs("keywords")=request2.Form("keywords")
rs("sfcz")=request2.Form("sfcz")
rs("sfblank")=request2.Form("sfblank")
rs("anname")=request2.Form("anname")
rs("gg3")=request2.Form("other3")
rs("logo")=ppic

rs.update
rs.close:set rs = nothing
conn.close:set conn= nothing

response.write"<script>alert('修改成功!');location='"&request.ServerVariables("HTTP_REFERER")&"'</script>"
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?