/head body %dim tms,counter,countlen dim images(20) h1="p 千花飛舞計" />

欧美大屁股bbbbxxxx,狼人大香伊蕉国产www亚洲,男ji大巴进入女人的视频小说,男人把ji大巴放进女人免费视频,免费情侣作爱视频

歡迎來到入門教程網(wǎng)!

編程問答

當前位置:主頁 > 網(wǎng)絡(luò)編程 > 編程問答 >

如何防止計數(shù)器刷新計數(shù)?

來源:本站原創(chuàng)|時間:2020-01-11|欄目:編程問答|點擊: 次

如何防止計數(shù)器刷新計數(shù)?

<html>
<head>
<title>
千花飛舞之真實的計數(shù)器</title><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

</head>
<body>
<%dim tms,counter,countlen
dim images(20)
h1="<p>
千花飛舞計數(shù)器</font></p>"
If IsEmpty(Session("hasbeenConnected")) then
set rs=server.createobject("adodb.recordset")
application.lock
rs.open "update aspcount set countss=countss+1","dsn=userdbs",3,3
application.unlock
Session("hasbeenConnected")=True
End If
set rs=server.createobject("adodb.recordset")
rs.open "select * from aspcount","dsn=userdbs",3,3
rs.movefirst
counter=rs(0)
countlen=len(counter)
tms="<h1><font color='#8000ff'>
歡迎,您是第</font>"&&counter&&"<font color='#8000ff'>位來訪者!</font></h1>"
response.write(tms)
for i=1 to countlen
images(i)="<img src=" && mid(counter,i,1) && ".gif></img>"
next
response.write images(1)&&images(2)&&images(3)&&images(4)&&images(5)&&images(6)&&images(7)
rs.Close
%>
</body></html>

 

[1]

上一篇:如何獲知頁面上的圖象的實際尺寸?

欄    目:編程問答

下一篇:如何驗證日期輸入是否正確?

本文標題:如何防止計數(shù)器刷新計數(shù)?

本文地址:http://mengdiqiu.com.cn/a1/bianchengwenda/12091.html

網(wǎng)頁制作CMS教程網(wǎng)絡(luò)編程軟件編程腳本語言數(shù)據(jù)庫服務(wù)器

如果侵犯了您的權(quán)利,請與我們聯(lián)系,我們將在24小時內(nèi)進行處理、任何非本站因素導(dǎo)致的法律后果,本站均不負任何責任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權(quán)所有