asp问题,如何返回同站点指定页面的代码内容?

来源:百度知道 编辑:UC知道 时间:2024/09/25 19:20:21
<!--#include file="http://202.135.25.55/wupin/inc/md5"-->
<!--#include file="http://202.135.25.55/wupin/inc/conn.asp"-->
<meta http-equiv="Content-Type" content="text ml; charset=gb2312" />

<%
types=request.Form("types")
if types="add" then
sql="select * from give_itemlist where account='"&trim(request.Form("username")) &"'"
rs.open sql,conn,1,3
rs.addnew
rs("account")=trim(request.Form("username"))
rs("item_id")=request.Form("wenti")
rs("cnt")=request.Form("daan")
rs.update
response.Write("<script>alert('恭喜您,成功领取物 品!'

那要看是不是在同一个网站内.
如果是在根目录
<!--#include file="wupin/inc/md5"-->
<!--#include file="wupin/inc/conn.asp"-->

<!--#include file="http://202.135.25.55/wupin/inc/conn.asp"-->

conn.asp无用,只能用本地的,其它的就没说的了吧!