A very simple PHP script to track visitors by IP address
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
db_connect.php
ip_report.php
ip_tracker.php
session_end.php
visitor_tracking.sql
visitor_tracking_page1.php
visitor_tracking_page2.php
visitor_tracking_page3.php

README

A very simple visitor tracking tool using PHP and MySQL

Nothing particularly complex, just outlines a few of the basic principles of detecting users and logging their details. Feel free to use this code for whatever purpose.

To see the script in action

1) Setup a database using the SQL script in visitor_tracking.sql

2) Setup your database access details in db_connect.php

3) visit the pages

visitor_tracking_page1.php
visitor_tracking_page2.php
visitor_tracking_page3.php

- This will log some visits into the database

4) View the results in ip_report.php