<%
Buseimages = CBool (Request.QueryString ("Images"))
Strcountfilename = Server.MapPath (Request.ServerVariables ("Script_name") & ". Dat")
Set objFSO = Server.CreateObject ("Scripting.FileSystemObject")
' Open the ' file as a text stream (1 = ForReading, True = Create)
Set objcountfile = objFSO.OpenTextFile (strcountfilename, 1, True)
If not Objcountfile.atendofstream Then
icount = CLng (Objcountfile.readall)
Else
icount = 0
End If
Objcountfile.close
Set Objcountfile = Nothing
icount = icount + 1
Set objcountfile = objFSO.CreateTextFile (Strcountfilename, True)
Objcountfile.write icount
Objcountfile.close
Set Objcountfile = Nothing
Set objFSO = Nothing
If buseimages Then
For I = 1 to Len (icount)
Response.Write "Response.Write Mid (Icount, I, 1)
Response.Write ". gif" "alt=" ""
Response.Write Mid (Icount, I, 1)
Response.Write "" "Width=20 height=27>"
Next
Else
Response.Write icount
End If
%>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service