%@LANGUAGE="VBSCRIPT"%>
|
|
|
|
|
|
|
|
Comments?    
  
<%
whichname="\TipsPageCount.txt"
whichdir=Server.Mappath ("\kb5wmy\")
whichFN=whichdir & whichname
forreading=1
Dim PageCount
Set fs = CreateObject("Scripting.FileSystemObject")
Set thisfile = fs.OpenTextFile(whichFN, forreading, True)
thisline=thisfile.readline
strCnt = thisline
PageCount = (Cdbl(strCnt) + 1)
Response.Write "