So like, ASP is like VBScript, and yeah, VBScript is like VB. And like, I've been doing VB for like ages... so like, I could do a simple ASP counter sure.
Let's see, I THINK this is the ASP tag...
Set FSO = CreateObject("Scripting.FileSystemObject")
Set FILE = FSO.OpenTextFile("hits.cnt", 1, True)
HitCount = Val(FILE.ReadAll)
'heh, I dunno if this works:
Set FILE = FSO.OpenTextFile("hits.cnt", 2, False)
Well there you have it. I haven't worked with VBScript for months and months so if I made a bug - SCREW YOU... I don't want to look nothing up to confirm anything; I don't want to test it to see if it works. All I'm doing is giving you the general idea, and general code on how to do it. And if it DOES have bugs, then I'd appreciate somebody who works with VBScript/ASP a lot more than I do to shamelessly correct me.
To find reference material on what I did up there, look up the FileSystemObject and the File object, the ReadAll Method, the Write Method, the OpenTextFile Method, and the CreateObject function if you wanna.