ASP问题!!

来源:百度知道 编辑:UC知道 时间:2024/05/30 22:02:05
一个根文件夹A里有另一个文件夹B和一个文件X,B文件里有个文件Y
Y文件
<!--#include file="conn.asp"-->
<!--#include file="ShowImage.asp"-->
<%
ShowContent=Trim(Request("ShowContent"))
ShowContent=split(ShowContent,",")
ClassName=ShowContent(1)
if request.querystring("page")="" then
ipagecurrent=1
else
ipagecurrent=cint(request.querystring("page"))
end if
%>

<%if ClassName="" then%>
<%ShowImages "new","all",MaxWidth,MaxHeight,newRow,cint(ShowCount(4)),cint(ShowCount(5)),0%>
<%else%>

<%end if%>
我想在文件X里使用Y,请问下如何使用
<!--#include file="B/Y"-->
我也使用过,用了以后整个X页面就卡,开不得,并且dllhost.exe使用CPU率到80%左右,不是病毒 IIS进程

<!--#include file="/B/Y"-->

如果X和Y在同一目录,直接写
<!--#include file="Y"-->

这要看你Y文件的内容,一般来说,被包含文件不要太大,内容也不要太复杂为好.

可以查看看Y文件中是否有死循环