<%
sub numpad()
set files=server.createobject("scripting.filesystemobject")
set numtxt=files.opentextfile(server.mappath("/num/num.txt"))
application("num")=numtxt.readline
numtxt.close
application("num")=application("num")+1
response.write application("num")
set numtxt=files.createtextfile(server.mappath("\num\num.txt"),true)
sub numpad()
set files=server.createobject("scripting.filesystemobject")
set numtxt=files.opentextfile(server.mappath("/num/num.txt"))
application("num")=numtxt.readline
numtxt.close
application("num")=application("num")+1
response.write application("num")
set numtxt=files.createtextfile(server.mappath("\num\num.txt"),true)
Tags: 下载次数