config_save.asp

来自「blog 又搭工」· ASP 代码 · 共 30 行

ASP
30
字号
<!--#include file="conn.asp"-->
<!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
  title=request.Form("title")
  blogtitle=request.Form("blogtitle")
  planPWD=request.Form("planPWD")
  foot=request.Form("foot")
  response.Write title,blogtitle,planpwd,foot
  strsql="select title,blottitle,planpwd,foot from config"
  set rs=db.execute(strsql)
  rs("title")=title
  rs("blogtitle")=blogtitle
  rs("foot")=foot
  rs("planpwd")=planpwd
  response.Write "<script>alert('保存成功');history.back();</script>"
  rs.close
  set rs=nothing
  %>

</body>
</html>

⌨️ 快捷键说明

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