摇钱树网吧好破解么:ASP:分析一句网页在线编辑器连接的的代码

来源:百度文库 编辑:神马品牌网 时间:2024/05/01 10:30:20
Content=Request.Form("Content")

'将里面的链接换成本地链接
aa="http://"&Request.ServerVariables("server_name")&Request.ServerVariables("path_info")
aa= mid(aa,1,len(aa)-17) '16=admin/addnews.asp
'response.write aa
'response.end

代码如上
哪位朋友使用过这样的代码?
上面的是什么意思呢?
关键是没打“'”的代码是什么意思???

aa=\"http://\"&Request.ServerVariables(\"server_name\")&Request.ServerVariables(\"path_info\")
\'此时aa值为http://主机名或ip地址/admin/addnews.asp
aa= mid(aa,1,len(aa)-17) \'16=admin/addnews.asp
\'取去掉后面路径的部分即主页地址

Content=Request.Form(\"Content\")
\'是将编辑器提交的隐藏控件的内容读出来