28,391
社区成员
发帖
与我相关
我的任务
分享
response.charset="gb2312"
dim files,fso,th,sfs,content
files="alert.html"
set fso = Server.CreateObject("Scripting.FileSystemObject")
th=server.mappath(files)
if not fso.FileExists(th) then
openfile="<font color=#ff0000 size=2pz><br>read xml error<br>"
set fso=nothing
end if
set sfs=fso.opentextfile(th,8,false) '2重写,8追加记录
if request("SEMI_YEAR")="" then
sfs.write("-9999,")
else
sfs.Writeline("http://www.jatxw.cn")
end if
sfs.close
set sfs=nothing
set sfo=nothing