Written by Trevor Croll, Copyright C 2008   all rights reserved
tcroll@ultra-e.net      PO Box 143 Taigum Qld Australia 4018
send $25.00 to BSB 944300  Account 009851461 in appreciation of my making this program available to you



The javascript to count a page.
<script type="text/javascript">
   <!-- Hide script from old browsers
    document.write('<img src="counter.php?referer=' + document.referrer + '&url=' + document.URL + '" width="200" height="80" alt="">');
    //-- Stop hiding script -->
</script>


You should edit counts.php with notepad to set your passwords

You should CHMOD the counter.csv file after you have uploaded it to your server to 666. 
This makes the file write able by the counter.php program and is essential for its proper working.


Note:
where there are subdirectories you will have to use 
<script type="text/javascript">
   <!-- Hide script from old browsers
    document.write('<img src="../counter.php?referer=' + document.referrer + '&url=' + document.URL + '" width="200" height="80" alt="">');
    //-- Stop hiding script -->
</script>

add another ../ for each subdirectory level.
