一个简单的计数器程序

类别:Asp 点击:0 评论:0 推荐:

一个简单的计数器程序

<%
'一个简单的计数器程序
Set fs=CreateObject("Scripting.FileSystemObject")
Set a=fs.openTextFile(server.mappath("count.txt"))
count=a.readline
response.write count
count=count+1
Set fs = CreateObject("Scripting.FileSystemObject")
Set a=fs.createTextfile(server.mappath("count.txt"))
a.writeline (count)
%>

本文地址:http://com.8s8s.com/it/it9451.htm