查查strdir的路径,按照这个过程:
dim strdir
if request.querystring("strdir")="" then
strdir=server.mappath("演示文档")
else
strdir=request.querystring("strdir")
end if
注意加粗的地方,这里使用的是绝对路径,而且是从地址栏获取的,而不是相当服务器主目录或当前页相对的路径,要从磁盘的根目录开始,比如:d:\xxx\xxx。注意查查地址栏上的 strdir=??? 有没有错?