WMStats

 


 

What is WMStats?

WMStats is another PHP & Flat Text File Multiple daily counter stats, easy to configure, easy to use, easy to download :P.

Why multiple? WMStats generate report statistics about your visitors profile based on flat text file was created by WMCounter. If you have multiple counter files created by WMCounter, you will have multiple report statistics also by using WMStats.

Why daily? Because I just want to see my visitors profile on daily basis :) , if you want to keep your visitors profile for a month or a year I don't mind go for it, find better script :P Hehehe... imagine this..., "My page get thousand hits or more a day..., hmm... let's make an assumption, average unique visitors who visit my page is 1,000, it means less or more I have to prepare 120KB of space to keep my visitors profile, it should be 3,600KB for a month, a year it could be 43,200KB or more. Wow it's so big, isn't it?". That is why I make WMStats only with daily report. More features? Maybe! Patience... you must have it!

Where can I get WMStats?

As usual, You can find WMStats at:

Requirement

You just need PHP, and WMCounter must installed first on your system, why? read on your top screen :P.

Installation

Extract wmstats.zip, open wmstats.php with your text editor, change what to be changed, match them with your system. If you're running Windows, I suggested to use wordpad, not notepad. Upload to your webserver, don't forget to chmod 777 your data subdir. If you're running PHP 3, change .php3 extention to .php, that's it!

How to use it?

WMStats is easy to use, look at the code below:

<?
include("wmstats.php");
echo daily_stats("");
?>

Change "" with the name of counter file was created by WMCounter, i.e. :

If You call WMCounter with:

<?
$visitors = daily_count("aboutus-counter.log", "aboutus-visitors.log");
?>

So you must call WMStats with:

<?
echo daily_stats("aboutus-visitors.log");
?>

Peace of cake huh? :)

Demo

Look at the counter at http://wartamikael.org/PHPScripts page, the link below the counter is WMStats demo, or at the bottom of Warta Mikael site for the real demo, click on "Pengunjung hari ini".

Copyright

© 010324, Rudy S. Ingga <toekangweb@wartamikael.org>

 

Back to top | WMScripts Home