å¦Âä½Âé²æ¢计æ°å¨å·æ°计æ°ï¼Â
<html>
<head>
<title>Ã¥ÂÂè±é£ÂèÂÂä¹ÂçÂÂå®ÂçÂÂ计æ°å¨</title>xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /??
</head>
<body>
<%dim tms,counter,countlen
dim images(20)
h1=”<p> Ã¥ÂÂè±é£ÂèÂÂ计æ°å¨</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]