write a function called GetPageCount which simply gets the page count from a database or a file, increment it, and then saves it again. Then return the incremented value. Adding things like IP blocking will simply need some extra work. Then, you can add this to the SSI and it will start counting. <%=GetPageCount()%>