asp的include问题
小弟初次接触ASP 不知道ASP怎么include文件的..
我的代码如下:
index.asp 根目录/index.asp
<%
<!--#INCLUDE FILE= "include/conn.php " -->
response.write "test "
%>
conn.asp 根目录/include
<%
dim test
test = "fasdfasdfasdfasdfasdfasdfasdf "
response.write test
%>
访问index.asp文件就能输出一个test....
很郁闷,不知道那里有问题啊
------解决方案-------------------- <!--#INCLUDE FILE= "include/conn.php " --> conn.php写错了吗?
------解决方案-------------------- <!--#INCLUDE FILE= "include/conn.php " -->
这个要写在 <%%> 外面的