Lol. I just found a snippet I coded when just when I started to code php.
Actually it was originally by vaneesv of spytrick.tk, but I reworked it be almost all me, but still it was his idea first so, I Give credit.
This counts hits. It doesn't count hits of visitors who reload the page. It actually checks for if the visitor has been online less than 10 minutes and doesn't add hits from them.
How to use:
just include the file in your page where you want hits to appear. That's all.
Known bugs:
Upon inclusion, first user is counted twice.
Was a workaround to an earlier bug.
Can only be used on a single page in a given directory else counts for all pages will accumulate.
I never used it so I never had reason to correct this so it worked for different pages.
Requirement:
Does not use sql but might need write access since it creates two .data files for data storage.
If you want to use this, you may only remove the tiny credit after at least 14 days of use.
Actually it was originally by vaneesv of spytrick.tk, but I reworked it be almost all me, but still it was his idea first so, I Give credit.
This counts hits. It doesn't count hits of visitors who reload the page. It actually checks for if the visitor has been online less than 10 minutes and doesn't add hits from them.
How to use:
just include the file in your page where you want hits to appear. That's all.
Known bugs:
Upon inclusion, first user is counted twice.
Was a workaround to an earlier bug.
Can only be used on a single page in a given directory else counts for all pages will accumulate.
I never used it so I never had reason to correct this so it worked for different pages.
Requirement:
Does not use sql but might need write access since it creates two .data files for data storage.
If you want to use this, you may only remove the tiny credit after at least 14 days of use.
Comment