?? config_save.asp
字號:
<!--#include file="conn.asp"-->
<!--#include file="UBBencode.ini"-->
<!--#include file="textencode.ini"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>無標題文檔</title>
</head>
<body>
<%
dim title,blogtitle,planpwd,foot,strsql,rs
title=trim(request.Form("title"))
blogtitle=textencode(trim(request.Form("blogtitle")))
planPWD=request.Form("planPWD")
foot=trim(request.Form("foot"))
strsql="select * from config"
set rs=server.createobject("adodb.recordset")
rs.open strsql,db,1,2
rs("title")=title
rs("blogtitle")=blogtitle
rs("foot")=foot
rs("planpwd")=planpwd
rs.update
response.Write "<script>alert('保存成功');history.back();</script>"
rs.close
set rs=nothing
%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -