note on the previous hit-counter sample. just save it into an empty directory as "simplecounter.cfm" somewhere on your website/server and use the following code to test it:
----begin the index page
<h1>HIT COUNTER TEST PAGE</h1> <cf_simplecounter filename="counter.txt" result="total"> the current total is <cfoutput>#total#</cfoutput> page hits.<br> <br> hit refresh on your browser to keep on testing. also, notice that there is now a file in this directory called "counter.txt"
----end of the index page
-- Brendan Avery 2.0 ba@brendanavery.com http://www.brendanavery.com 310.754.6231 voicemail/fax