hfsj.asp
资源名称:wap.rar [点击查看]
上传用户:sking1122
上传日期:2020-09-24
资源大小:1005k
文件大小:3k
源码类别:
手机WAP编程
开发平台:
ASP/ASPX
- <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><?xml version="1.0" encoding="utf-8"?>
- <%response.buffer=true%>
- <%Response.ContentType = "text/vnd.wap.wml; charset=utf-8"%>
- <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
- <!--#include file="conn.inc"-->
- <!--#include file="cnscu_sb.asp"-->
- <wml>
- <head><%
- '====================================================================
- ' 请你保留这段说明,这并不会影响你的速度. 电脑交流:http://www.cnscu.cn
- ' 程序制作:横云 掌上校园收倾心整理收集于互联网,感谢你的支持!
- ' 升级时间: 2008-2-5 主页地址:HTTP://wap.cnscu.cn
- ' E-Mail: cnscu@126.com 客服QQ:554904632 QQ群:30493504 QQ群2:46659883
- '====================================================================
- %> <meta http-equiv="Cache-Control" content="no-Cache"/>
- <meta http-equiv="Cache-Control" content="max-age=0"/>
- <meta http-equiv="Expires" content="Mon, 1 Jan 1990 00:00:00 GMT"/>
- </head>
- <%id=usb(request("id"))
- if id="" then id="99999999999999"
- fid=usb(request("fid"))
- nnn=usb(request("ffss"))
- cz=usb(request("cz"))
- %>
- <card id="main" title="恢复数据" >
- <p>
- <%if cz="520" then
- Set fs = Server.CreateObject("Scripting.FileSystemObject")
- SFile = Server.MapPath("../bdatebase/"&nnn&"")
- TFile = Server.MapPath("../cnscu.cn/lp.mdb")
- on Error Resume Next
- fs.CopyFile SFile, TFile
- If Err.Number = 53 Then
- Response.Write SFile & "数据不存在!"
- Elseif Err.Number = 70 Then
- Response.Write TFile & "文件属性为只读!"
- Elseif Err.Number <> 0 Then
- Response.Write "未知错误,错误编码:" & Err.Number
- Else
- Response.Write "成功回复数据!<br/>"
- End If
- Response.Write "<br/>"
- %>
- <%end if%>
- <%if cz<>"" and cz<>"520" then%>
- 对不起,安全码错误<br/>
- <%end if%>
- 恢复数据前请确认你有备份数据!<br/>
- 安全码<input name='iidd<%=minute(now)%><%=second(now)%>' value=''/>试用:520<br/>
- 备份名称<input name='dq<%=minute(now)%><%=second(now)%>' value=''/>(只需输入备份地址最后一个/后面的内容,例如:2008-1-13.mdb)<br/>
- <anchor>确定恢复<go href='hfsj.asp?sb=<%=sb%>' method='post' accept-charset='utf-8'>
- <postfield name='idp' value='$(idp)'/>
- <postfield name='cz' value='$(iidd<%=minute(now)%><%=second(now)%>)'/>
- <postfield name='ffss' value='$(dq<%=minute(now)%><%=second(now)%>)'/>
- </go></anchor>
- <br/>-------<br/>
- <a href="admin_index.asp?fs=<%=fs%>&sb=<%=sb%>">返回管理首页</a><br/>
- <a href="../index.asp?fs=<%=fs%>&sb=<%=sb%>">返回网站首页</a>
- <!--#include file="bq.gif"-->
- <br/>
- 报时:<%=time%></p>
- </card>
- </wml>