echo "0" > datafile
chmod 606 datafile
<!--#exec cmd="/usr/httpd/cgi-bin/ssicount datafile" -->
The result is: 4553
Note: You can use any name in place of datafile, and you may have more than one datafile, allowing counters on multiple pages.
<!--#exec cmd="/usr/httpd/cgi-bin/ssicount datafile /h" -->
The result is: , but the counter is incrementing.
To display the counter and not increment the number,
<!--#exec cmd="/usr/httpd/cgi-bin/ssicount datafile /s" -->
The result is: 99 displaying, but not incrementing.