BASIC STATISTICS script will track any access to your pages where the scripts is installed. Then this script will write some informations like: ID of the page, Browser type, IP of visitor, Posted date, Visitor date into the database. Webmaster can access this statistics from a special page.
By : lvalics
HOW TO INSTALL:
Extract the zip containing the source files Upload the files using FTP to the server hosting your pages
Create a database and dump the data from mysql.sql into your database.
Open in your favorite editor the config.inc.php and set the requested data in: Site URL, Scripts PATH like /var/www/htdocs path, login and password for the Control Panel and access data to the database (name, login, password, IP and port)
HOW TO INSTALL THE SCRIPT INTO PAGES FOR TRACKING:
Open you page what you want to track. Copy the line before </body>, like:
Where NAME is an identifier for that page and DATE is date when you placed the script. For each page what you want to track, need to insert this line and if you want to track different pages with different identifier, place like this:
We suggest to put the files in a directory like stat or statistics. Then open http://www.yourdomain.com/statistics.php Enter login and password and thn choose a page from drop down menu.
For future questions, please contact us at it@grafx.ro or on FORUM - http://software.grafx.ro/forum
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.