home *** CD-ROM | disk | FTP | other *** search
/ The Best of Windows 95.com 1996 December / WIN95_DEC_1996_1.ISO / websrv / PGCNT21.ZIP / readme.txt < prev   
Text File  |  1995-08-04  |  3KB  |  106 lines

  1. Beverly Hills Software Access Count and Update CGI
  2. Application for WebSite Servers for both single and
  3. multi domain configurations.
  4. -----------------------------------------------------
  5.  
  6. What's New in 2.0
  7. -----------------
  8. The 'Document contains no data' bug us finally fixed.
  9. The access.dat file now conatains a line for each access (flat file log)
  10.  
  11. -----------------
  12.  
  13. The files in this zip file are:
  14.  
  15. pagcnt.exe    ; The CGI executable
  16. pagcnt.html    ; sample html set up file    
  17. readme.txt    ; this file
  18. access.dat    ; data file needed for CGI
  19.  
  20.  
  21. WebSite Server Configuration
  22.  
  23. You must set the Indexing/Special Documents/Index value in
  24. the WebSite Admin program to "index.*". This is needed as
  25. the executable file will be named index.wcgi.
  26.  
  27.  
  28. HTML Directory Setup
  29.  
  30. It is assumed by the CGI app. that it has been named "index.wcgi"
  31. and that it is the only file in the directory with the base name
  32. of "index".
  33.  
  34. Copy pagcnt.exe to index.wcgi in the directory you will be
  35. referencing.
  36.  
  37. eg.
  38.  
  39. If your URL is http://machine.name.domain/ and
  40.  
  41. C:\website\htdocs is the root dir for HTML documents
  42. you would copy the pagcnt.exe to c:\website\htdocs\index.wcgi.
  43.  
  44. or 
  45.  
  46. If your URL is http://machine.name.domain/Topic/ and
  47.  
  48. C:\website\htdocs is the root dir for HTML documents
  49. you would copy the pagcnt.exe to c:\website\htdocs\topic\index.wcgi.
  50.  
  51.  
  52. Copy access.dat to the same directory. This is the data file
  53. that is use to keep track of how many acceses have been made
  54. to the URL and who was there last and when.
  55.  
  56. The format of the one line data file access.dat is:
  57.  
  58. count lastIP mm/dd/yy hh:mm:ss
  59.  
  60. count    = the access count for this URL
  61. lastIP   = the IP address of the last visitor
  62. mm/dd/yy = the date of the last visit
  63. hh:mm:ss = the time of the last visit
  64.  
  65. There is now one line for each access, thus a log file file this page.
  66.  
  67.  
  68. The next file that must be in the directory is
  69.  
  70. pagcnt.html
  71.  
  72. This is your template file. It should be the same as if
  73. you werent counting accesses with the following exceptions:
  74.  
  75. You must have two items embedded in pagcnt.html
  76. *** NOTE *****
  77.   BOTH ITEMS MUST BE IN THE FILE IN THE ORDER SPECIFIED
  78. **************
  79.  
  80. A ^ character followed somewhere in the file by
  81.  
  82. a ~~~~~ string.
  83.  
  84. The first ^ will be replaced with the date and time
  85. this file was last modified.
  86.  
  87. The ~~~~~ will be replaced with:
  88.  
  89.  
  90. "access count"
  91. Last accessed by "ip address" on "date" at "time"
  92. Current visitor:"ip address"
  93.  
  94. Here is a sample pagcnt.html listing:
  95.  
  96. <HTML>
  97. <TITLE>Page count Demo HTML Template</TITLE>
  98. <body>
  99. <h4>Last Updated: #</h4>
  100. <hr>
  101. <h4><font size=-1>Page Accesses:~~~~~</font></h4>
  102. </body>
  103. </html>
  104.  
  105.  
  106.