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

📄 setup.asp

📁 易和阳光购物商城 v1.3 | 功能简介 增加了防注入文件
💻 ASP
字号:
<!--#include file="Include/Iheeo_Conn.asp"-->
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<LINK href="images/css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2800.1126" name=GENERATOR>
<%setup=request("setup")
if setup="" then%>
<table width="98%" align="center" border="1" cellspacing="0" cellpadding="4" class=lanyubk style="border-collapse: collapse">
<form name="form1" method="post" action="setup.asp">
<tr> 
    <td class=lanyuss align="center">IheeoEshop v1.3 数据库升级程序</td>
          </tr>
<tr class=lanyuds> 
<td style="LINE-HEIGHT: 180%">
<b><font color="#FF0000">前提:请备份网站</font></b><br>
第一步:请备份整个网站<br>
第二步:覆盖升级包文件<br>
第三步:运行数据库升级
            </td>
          </tr>
          <tr class=lanyuqs> 
            <td align="center"> 
<input type="button" value="数据库升级"  onClick="location.href='?setup=setup'" class="button">
            </td>
          </tr>
      </table>
<br>
<%elseif setup="setup" then%> 
<%
'#------------------------------------------------------#
'#        本程序为瞬间思路提供            #
'#------------------------------------------------------#
on error resume next '忽略错误
'+++++++++++++++删除数据库++++++++++++++++++++++
conn.execute("Drop table Iheeo_Pay")
'+++++++++++++++删除数据表++++++++++++++++++++++
'conn.execute("ALTER TABLE [BJX_config] DROP COLUMN [qq]")
'+++++++++++++++新增数据库++++++++++++++++++++++
conn.execute("Create Table Iheeo_Pay (PayID Counter Primary Key,PayName char(50),PayKey Int, " & "PayShopID char(50) WITH COMPRESSION, " & "PayShopKey char(50) WITH COMPRESSION, " & "PayShopOther1 char(50) WITH COMPRESSION, " & "PayShopOther2 char(50) WITH COMPRESSION, " & "PayShopOther3 char(50) WITH COMPRESSION, " & "PayShopOther4 char(50) WITH COMPRESSION,PayInfo Memo,PayList Int)")
%>
<center>你已经成功地将数据库升级为IheeoEshop Ver1.3<br><br>
<font color="#0000FF"><b>感谢你的使用</b><br>
<font color="#0000FF"><b>为了你系统的安全,升级成功后将本文件删除!</b></center>
<%
conn.close
set conn=nothing
end if%>

⌨️ 快捷键说明

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