[求助]求解代码
nPath="index.asp"nPath=server.MapPath(nPath)
nPath=left(nPath,len(nPath)-9)
if right(npath,6)="QOeditadmin\" then nPath=left(nPath,len(nPath)-6)
if right(npath,7)="upload\" then nPath=left(nPath,len(nPath)-7)
cookies_path_s=split(Request.ServerVariables("PATH_INFO"),"/")
cookies_path_d=ubound(cookies_path_s)
cookies_path="/"
for i=1 to cookies_path_d-1
if not (cookies_path_s(i)="upload" or cookies_path_s(i)="QOeditadmin") then cookies_path=cookies_path&cookies_path_s(i)&"/"
next
cookiesurl=cookies_path
dir=cookies_path
cookiename="meqoo"
hosturl="http://";&Request.ServerVariables ("SERVER_NAME")
url=hosturl&dir
特别是红字区需要解释,谢谢各位大哥啊!