关于ssi的问题
filedetails.asp:
<%
dim strfdpathinfo
strfdpathinfo=Request.ServerVariables ("path_translated")
dim objfso,objfile
set objfso=createobject("scripting.filesystemobject")
set objfile=objfso.GetFile (strfdpathinfo)
%>
<p>
<hr>
<div style="font-size:11;font-family;verdana;">
filename:<b><%=objfile.name%></b><br>
server path:<b><%= Request.ServerVariables ("path_info")%></b><br>
Physical Path: <b><%=strfdpathinfo%></b><br>
File size:<b><% =objfile.size%>bytes</b><br>
Date Created:<b><% =objfile.datecreated%></b><br>
Date Last Modified:<b><%= objfile.datelastmodified%></b></br>
Date Last Accessed:<b><%= objfile.datelastaccessed%></b><br>
</div>
被插入的页
<html>
<head><title>Display Dictionary</title></head>
<body>
<%
dim strpathinfo,objfileitem
strpathinfo=Request.ServerVariables ("path_translated")
dim objfso,objfile,objfolder,objfoldercontents
set objfso=createobject("scripting.filesystemobject")
set objfile=objfso.getfile(strpathinfo)
set objfolder=objfile.parentfolder
set objfoldercontents=objfolder.files
%>
<table~~~.........一些表格输出的语句
</table>
'在这里插入
<!--#include file="fieldetails.asp"-->
</body></html>
提示错误: filedetails.asp 第2行 不解!! 因为filedetail.asp 用相同的方法插入到其他页没有问题,而且上页被插入前也没有问题!!
问题2: openastextstream方法的参数 为什么要用 常量赋值