📄 savemessage.asp
字号:
<!--#include file="db_conn.asp"-->
<!--#include file="comm/my_request.asp"-->
<!--#include file="comm/my_lib.asp" -->
<%
username=my_request("username",0)
xingxing=my_request("xingxing",1)
neirong=my_request("neirong",0)
pid=my_request("id",1)
if username="" or xingxing="" or neirong="" or pid="" then
call wnourl("资料未填写完整或参数错误!")
response.end
else
sql="select * from product_leave"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,1,3
rs.addnew
rs("username")=username
rs("xingxing")=xingxing
rs("neirong")=Outleach(neirong)
rs("pid")=pid
rs("ip")=Request.ServerVariables("REMOTE_ADDR")
rs("addtime")=now()
rs.update
rs.close
set rs=nothing
conn.close
set conn=nothing
response.redirect "message.asp?id="&pid
end if
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -