人人做人人澡人人爽欧美,国产主播一区二区,久久久精品五月天,羞羞视频在线观看免费

當前位置:蘿卜系統下載站 > 技術開發教程 > 詳細頁面

統計在線人數、每日訪問人數與總人數

統計在線人數、每日訪問人數與總人數

更新時間:2022-08-08 文章作者:未知 信息來源:網絡 閱讀次數:


這個程序難一點,特點在于,因為他是分別的傳送每個圖片,所以不像CGI產生的圖片那樣大。而且圖片可以重復的利用所以較率高速度快。只是沒有JavaScript就不行了。

程序原代碼:
<%
imgurl="http://xxx.xxx.xxx/xxxx/"; '圖片路徑
imgname="xxx" '圖片名字
cnt=0
dnt=0
s=Request.ServerVariables("path_translated")
cName = left(s,instrrev(s,"\",len(s)))&"chy.cnt"
dName = left(s,instrrev(s,"\",len(s)))&"dchy.cnt"
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set objCountFile = objFSO.OpenTextFile(cName,1,True)
If Not objCountFile.AtEndOfStream Then cnt=CLng(objCountFile.ReadAll)
objCountFile.Close
Set objCountFile=Nothing
cnt=cnt+1
Set objCountFile=objFSO.CreateTextFile(cName,True)
objCountFile.Write cnt
objCountFile.Close
Set objCountFile=Nothing

if application("dntime")<=cint(hour(time())) then
Set objCountFile = objFSO.OpenTextFile(dName,1,True)
If Not objCountFile.AtEndOfStream Then dnt=CLng(objCountFile.ReadAll)
objCountFile.Close
Set objCountFile=Nothing
end if
application("dntime")=cint(hour(time()))
dnt=dnt+1
Set objCountFile=objFSO.CreateTextFile(dName,True)
objCountFile.Write dnt
objCountFile.Close
Set objCountFile=Nothing
Set objFSO = Nothing
Response.Write "document.write('99?7?10???"
for i=1 to len(cnt)
Response.Write "<img src="imgurl&imgname&Mid(cnt,i,1)&".gif>"
next
Response.Write "
?????"
for i=1 to 4-len(dnt)
Response.Write "<img src="&imgurl&"0.gif>"
next
for i=1 to len(dnt)
Response.Write "<img src="imgurl&imgname&Mid(dnt,i,1)&".gif>"
next
t=(cint(day(date()))*24+cint(hour(time())))*60+cint(minute(time()))
k=0
i=1
y=0
Do While application("zxip"&i)<>""
if application("zxip"&i)=Request.ServerVariables("REMOTE_ADDR") then
application("zxsj"&i)=t
y=1
end if
if t-application("zxsj"&i)>9 or t<application("zxsj"&i) then
k=k+1
else
if k>0 then
application.lock
application("zxip"&i-k)=application("zxip"&i)
application("zxsj"&i-k)=application("zxsj"&i)
application.unlock
end if
end if
if k>0 then
application.lock
application("zxip"&i)=""
application.unlock
end if
i=i+1
loop
if y=0 then
application("zxip"&i)=Request.ServerVariables("REMOTE_ADDR")
application("zxsj"&i)=t
else
i=i-1
end if
Response.Write " ?????"
if len(i)=1 then Response.Write "<img src="&imgurl&"0.gif>"
for j=1 to len(i)
Response.Write "<img src="imgurl&imgname&Mid(i,j,1)&".gif>"
next
Response.Write "');"%>

溫馨提示:喜歡本站的話,請收藏一下本站!

本類教程下載

系統下載排行

網站地圖xml | 網站地圖html
主站蜘蛛池模板: 林芝县| 六枝特区| 略阳县| 彝良县| 乌苏市| 青田县| 清新县| 景宁| 永州市| 凤山县| 鹿邑县| 敖汉旗| 彭泽县| 师宗县| 屯留县| 凤城市| 依兰县| 宁德市| 绥阳县| 渭源县| 吴忠市| 托里县| 陕西省| 巴东县| 晋中市| 嘉义县| 安化县| 宿迁市| 收藏| 宁都县| 溧阳市| 靖安县| 汽车| 灌云县| 静乐县| 永清县| 延长县| 泰顺县| 陵川县| 郓城县| 永宁县|