⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pay.asp

📁 易和阳光购物商城 v1.3 | 功能简介 增加了防注入文件
💻 ASP
字号:
<!--#include file="Include/Iheeo_Conn.asp"-->
<!--#include file="Include/Iheeo_config.asp"-->
<%
   
   PayKey=request("PayKey")
   totalmoney=request("totalmoney")
   orderid=request("orderid")

   PayKey=request("PayKey")
   if PayKey="" then
         response.write "请选择支付平台<br><br><a href=javascript:history.back()>返回</a>"
         response.end
         
   end if
   if PayKey<>"" then         '修改
   
         set rs=server.CreateObject("ADODB.RecordSet") 
         sql="select * from Iheeo_Pay where PayKey="&PayKey
         set rs=conn.execute(sql)
         if not rs.eof then
                   Name=trim(rs("PayName"))
                   typeid=trim(rs("PayKey"))
                   cid=trim(rs("PayShopID"))
                   mykey=trim(rs("PayShopKey"))
         else
                   response.write "参数有误"
                   response.end
         end if 
         rs.close
         set rs=nothing 
                        
   end if
   
   if PayKey=1 then
         nenturl="Include/Iheeo_Pay/tenpay/send.asp"
   end if
   if PayKey=2 then
         nenturl="Include/Iheeo_Pay/99bill/send.asp"
   end if   
   if PayKey=3 then
         nenturl="Include/Iheeo_Pay/chinabank/send.asp"
   end if
   if PayKey=4 then
         nenturl="Include/Iheeo_Pay/yeepay/send.asp"
   end if 
   if PayKey=5 then
         nenturl="Include/Iheeo_Pay/alipay/send.asp"
   end if          
%>
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>在线支付</title>
</head>

<body>
<form name="form1" action="<%=nenturl%>" method="post">
<input type="hidden" name="orderid" value="<%=orderid%>">
<input type="hidden" name="totalmoney" value="<%=totalmoney%>">
<input type="hidden" name="other1" value="<%=other1%>">
<input type="hidden" name="other2" value="<%=other2%>">
<input type="hidden" name="other3" value="<%=other3%>">
<input type="hidden" name="other4" value="<%=other4%>">
<input type="hidden" name="cid" value="<%=cid%>">
<input type="hidden" name="mykey" value="<%=mykey%>">

</form>
<script>
document.form1.submit();
</script>

</body>

</html>

⌨️ 快捷键说明

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