第一步,创建一个计数器(最简单的数字计数器,不是图片式的):
<% @language="vbscript" %>
<%
set fsfilesys=createobject("scripting.filesystemobject")
set mytext=fsfilesys.opentextfile(server.mappath("/count")&"\count.txt")count=mytext.readline
' 读存储在count.txt的计数值,可先写上8771990.
my text.close
count=count+1
set mytext=fsfilesys.createtextfile(server.mappath("/count")&"\count.txt")
' 重写计数值.
mytext.writeline(count)
mytext.close
response.write "document.write('<%=count%>')"
%>
' 向客户端发送数字.
第二步,用以下语句提供申请:
<script language="javascript1.1" src="http://flashdays.126.com/count/count.asp">
[1]
如对本文有疑问, 点击进行留言回复!!
vscode使用editorconfig插件以及.editorconfig配置文件说明详解
VSCODE添加open with code实现右键打开文件夹
网友评论