找到下面代码:
复制代码 代码如下:
<%
sAllowExt=Replace(UCase(sAllowExt),"ASP","")
%>
改为:
复制代码 代码如下:
<%
sAllowExt=UCase(sAllowExt)
DoWhileInStr(sAllowExt,"ASP")OrInStr(sAllowExt,"CER")OrInStr(sAllowExt,"ASA")OrInStr(sAllowExt,"CDX")OrInStr(sAllowExt,"HTR")
sAllowExt=Replace(sAllowExt,"ASP","")
sAllowExt=Replace(sAllowExt,"CER","")
sAllowExt=Replace(sAllowExt,"ASA","")
sAllowExt=Replace(sAllowExt,"CDX","")
sAllowExt=Replace(sAllowExt,"HTR","")
Loop
%>
转自:KinJAVA日志:http://jorkin.reallydo.com/article.asp?id=206