Link to home
Create AccountLog in
Avatar of Misafi
MisafiFlag for South Africa

asked on

php hit counter milestone recorder

My normal hit counter is as follows

Dim FolderObject
Dim MyFolder
set FolderObject=server.CreateObject("Scripting.FileSystemObject")
If FolderObject.FolderExists("C:\counter\Text")=false then

end if
Dim Counter
set TextFile=FolderObject.OpenTextFile("C:\counter\Text\xxx.txt")
set TextFile=FolderObject.CreateTextFile("C:\counter\Text\xxx.txt")


I would like to add a code that would activate a banner or drop down that will become visible when the total in the text file reaches a specific figure i.e.
"This site has now had 100,000 visitors"  Whether it be a drop down, a banner or a blockquote does nor really matter.

Can this be done?
Avatar of Craig321
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Misafi


Many thanks - straight forward as you say, but only when you know how.
I take your point regarding "spammy" but this is a Club site and thus "in house".
Thanks again