ASP高手快来啊
869
- 5539932013-09-27金牌会员29532
- - 0 or InStr(sURL,"`")0 or InStr(sURL,"'")0 or InStr(sURL," ")0 or InStr(sURL," ")0 or InStr(sURL,"'")0 or InStr(sURL,chr(34))0 or InStr(sURL,"")0 or InStr(sURL,",")0 or InStr(sURL,"0 or InStr(sURL,">")0 then
- Response.Status= "404 no found"
- Response.End
- end if
- first_name=split(sURL,".")
- if ubound(first_name)>2 then
- Response.Status= "404 no found"
- Response.End
- end if
- user=first_name(0)
- seldomain=first_name(1)&"."&first_name(2)
- if user="reg" then Response.Redirect "http://xxx.cn/reg/index.asp"
- '这里的这个指向是你给这个程序设置的域名的路径
- geturl=False
- msg=Application("domain_info")
- msg=split(msg,"|")
- for i=lbound(msg) to ubound(msg)-1 step 5
- if msg(i)=seldomain then
- geturl=True
- ad=msg(i+1)
- height=msg(i+2)
- width=msg(i+3)
- adurl=msg(i+4)
- exit for
- end if复制代码访问提示:
Microsoft VBScript 运行时错误 错误 '800a0009'
下标越界: '[number: 2]'
/index.asp,行 41
什么问题呢?球高手解答。。。