%
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if mid(server_v1,8,len(server_v2))<>server_v2 then
response.write "
"
response.write "| "
response.write "你提交的路径有误,禁止从站点外部提交数据请不要乱该参数!"
response.write " |
"
response.end
end if
%>
<%y_chanpin=trim(request.form("y_chanpin"))
y_sum=trim(request.form("y_sum"))
y_company=trim(request.form("y_company"))
y_tel=trim(request.form("y_tel"))
y_name=trim(request.form("y_name"))
y_fax=trim(request.form("y_fax"))
y_address=trim(request.form("y_address"))
y_youbian=trim(request.form("y_youbian"))
y_email=trim(request.form("y_email"))
y_http=trim(request.form("y_http"))
y_other1=trim(request.form("y_other1"))
y_other2=trim(request.form("y_other2"))
y_other3=trim(request.form("y_other3"))
y_other4=trim(request.form("y_other4"))
y_other5=trim(request.form("y_other5"))
y_other6=trim(request.form("y_other6"))
y_other7=trim(request.form("y_other7"))
y_other8=trim(request.form("y_other8"))
y_other=trim(request.form("y_other"))
set rs=server.createobject("adodb.recordset")
sql="select * from y_order"
rs.open sql,conn,3,3
rs.addnew
rs("y_chanpin")=y_chanpin
rs("y_sum")=y_sum
rs("y_company")=y_company
rs("y_tel")=y_tel
rs("y_name")=y_name
rs("y_fax")=y_fax
rs("y_address")=y_address
rs("y_youbian")=y_youbian
rs("y_email")=y_email
rs("y_http")=y_http
rs("y_other1")=y_other1
rs("y_other2")=y_other2
rs("y_other3")=y_other3
rs("y_other4")=y_other4
rs("y_other5")=y_other5
rs("y_other6")=y_other6
rs("y_other7")=y_other7
rs("y_other8")=y_other8
rs("y_other")=y_other
rs.update
%>
<%
rs.close
set rs=nothing
conn.close
set conn=nothing
%>