Download Web Page Hits ![]()
This software is supplied as is and no liability is accepted for it. It is expected that if you use it you will pay $25.00 for it and the payment details are in the code itself. For a fee I will write php code to suite your requirements.
There are 4 files to download
counter.php the program that counts web page
hits,
counter.csv the file that stores the counted URLs on the server,
counts.php the file that displays the hits, resets the file and down loads the
file in spread sheet format,
blackboard.gif the picture gif which is displayed
when the counter has counted the hit.
javascript.txt which contains the java
script to be inserted into the html code
Download counter.zip and remember to send me $25.00 as encouragement and appreciation.
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.
This javascript code when inserted between <body> and </body> tags in the html
document invokes the counter.php program to count the URL hit and display the
icon which stamps your pages and tells you that hits on this page is being
counted.
<script type="text/javascript">
<!-- Hide script from old browsers
//some times you may have to use img src="../counter.php to address the file from one Directory out
document.write('<img src="counter.php?referer='
+ document.referrer + '&url=' + document.URL + '" width="50"
height="50" alt="" >');
//-- Stop hiding script -->
</script>
The GIF shown here tells us that this page access has been counted