Musts

  1. New cgi-bin directory (like css, images, includes)
  2. Put mcount.cgi in cgi-bin/mcount/ directory
  3. Edit mcount.cgi script with absolute path to cgi-bin/mcount/
  4. Save with UNIX endings or use dos2unix command
  5. Path to this page: /home/rsimms/hayrocket.com/dm160c/exercise-05.shtml
  6. Permissions: mcount.cgi = 755, mcount directory = 755
  7. Use relative path to execute script below

Visits

The regular counter reports:
984 visits (1 today, 9 this week, 19 this month, 187 this year)
This engineering version of the counter reports:
Total visits: 1111011000 (binary) or 3D8 (hex)
The marketing version of the counter reports:
122,998 visits (39 today, 1,051 this week, 2,129 this month, 23,548 this year)

Revised: Saturday, June 2, 2007