| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 358 人关注过本帖
标题:小弟有个程序一直不明白啊!!!!
只看楼主 加入收藏
枫云言栀
Rank: 1
等 级:新手上路
帖 子:22
专家分:0
注 册:2005-12-3
收藏
 问题点数:0 回复次数:0 
小弟有个程序一直不明白啊!!!!


%@LANGUAGE="VBSCRIPT"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<% set fs= server.CreateObject("scripting.filesystemobject")
file=server.mappath("11.txt")
tt=fs.fileExists(file)
if tt=true then
set txt=fs.opentextfile(file)
if not txt.atEndOfStream then
content=txt.readall
line=replace(content,vbcrlf,"<br>")
response.Write(line)
end if
else
response.Write("对不起,没有此文件!")
end if
%>
</body>
</html>
这个程序为什么在运行之后,为什么就成了空白的页面呢?

2005-12-22 13:15
快速回复:小弟有个程序一直不明白啊!!!!
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.038123 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved