Small IP Tracking system for website on PHP and MySQL
Components:
- ip_track.php - main part, must be included on page you want to monitor
- visitor_tracking.sql - SQL script to create DB
- iptrack.php - simple example of admin panel with search field, works with visitor_tracking table if connect to DB
== Install ==
- Upload script (ip_track.php)
- include "ip_track.php" in your page
- Import SQL script
- Configure "ip_track.php" to connect with your db
- Go to page and test
== Adds ==
You can add additional fields on your page which will grab info from your DB and show on the page. Just add following code where you want:
- This field will show IP and link on WHOIS:
User: href=http://www.ip-adress.com/whois/ target=_blank>
- This field will show time when user came on your page:
- This field will show page or request which user made:
href='http://yoursite.com' target=_blank rel='nofollow'>
- This field will show user referer:
href='' target=_blank>
- This field will show user-agent of user:
Hint! Just don't forget to add noindex and rel=nofollow so links won't be indexed with search engines