I am trying to create a hit counter in vbscript on a HTML Page for specific client needs. I cannot use any hit counters available for free.
My problem is that my code only finds the text file on my notebook(Local C:\ drive) and not in the website even though the file does exist.
my other problem is that when the page code reaches the "server.creatobject" line, i get the error (Microsoft VBScript runtime error: Object required: 'server').
I write mostly in VB but the client wants a specific HTML page and NOT ASP/ASPX.
Can someone help me please. I have been trying for a while and cannot get a decent answer to my above questions.
Below is the code.
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
visitorcount=visitorcount + 1