- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
savehelp.asp
资源名称:shop2.rar [点击查看]
上传用户:btntkt
上传日期:2021-04-16
资源大小:5296k
文件大小:1k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
DOS
- <!--#include file="conn.asp"-->
- <%
- dim cls
- if session("admin")="" then
- Response.Redirect("admin.asp")
- else
- if session("flag")<>"0" then
- cls = Instr(session("flag"), "othfig")
- if cls <= 0 then
- %>
- <script language="javascript">
- if (confirm("您的操作权限不够,系统拒绝你的访问,请点确定返回,或者点取消退出重新登录"))
- location.href="login.asp";
- else
- location.href="index.asp";
- </script>
- <%
- end if
- end if
- end if
- %>
- <%dim action,html
- html=request("html")
- action=request.QueryString("action")
- Content=Request.Form("Content")
- '将里面的链接换成本地链接
- aa="http://"&Request.ServerVariables("server_name")&Request.ServerVariables("path_info")
- 'response.write aa&"<br>"
- 'bb=request.servervariables("http_referer")
- 'response.write aa&"<br>"
- 'response.write bb&"<br>"
- 'response.end
- 'aa= mid(aa,1,len(aa)-12)
- aa= mid(aa,1,len(aa)-16) '16=admin/savexx.asp
- 'response.write aa&"<br>"
- 'response.write bb&"<br>"
- 'response.end
- content=replace(content,aa,"")
- conn.execute("update webinfo set "&action&"='"&content&"'")
- response.Write "<script language=javascript>alert('修改成功');window.location.href='tab.asp';</script>"
- response.End
- %>