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
[EMAIL PROTECTED]
http://www.brendanavery.com
310.754.6231 voicemail/fax
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists