I have a server that does html, no asp or anything,
PHP won't do anything for you in that case.
assuming you can assign write access to a folder or file, you can use the client to do this via AJAX. this is not the most reliable process in the world, but it sure beats nothing.
here is the simplest thing i could think of:
-
-
<script>
-
function IO(U, V) {
-
X = !!window.XMLHttpRequest ? new ActiveXObject("Microsoft.XMLHTTP") : new XMLHttpRequest;
-
X.open(V ? "PUT" : "GET", U, !!0);
-
X.send(V ? V : "");
-
return X.responseText;}
-
var oD=IO('hit.txt');
-
IO('hit.txt', oD+'.')
-
</script>
-
-
the filesize of hit.txt = the number of hits.