CodeIgniter Forums
IP Tracker Script for CodeIgniter - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forum-11.html)
+--- Thread: IP Tracker Script for CodeIgniter (/thread-733.html)



IP Tracker Script for CodeIgniter - apparasenal - 01-11-2015

This is a simple CI script to track website visits.

This library will record IP address, web pages they opened and the time they visited your website.

You can extend the script to include tracking the User Agent of the user visiting your website. I did not include it in the code since I didn't find it useful for my purpose. The sole purpose why I wrote this script is for me to know how many site visits I am getting everyday and from what IP's they belong
to.

Kindly create a table in your database with the following columns:

Code:
`id` int(11) NOT NULL AUTO_INCREMENT,
 `ip` varchar(15) NOT NULL,
 `page_view` text,
 `date` int(11) NOT NULL,

How to use: Simply load the library in application/config/autoload.php
under autload library line.


That's it no need to call the function in each of your controller file.


Thank you.


RE: IP Tracker Script for CodeIgniter - thaios - 01-06-2017

Hey happy new year!
I wonder how this works.Does the script is linked to a dashboard from where you can see data?
Also i have another question :how to track codeigniter within Wordpress?I m operating a Wordpress site and i need to track the "thankyou" pages.Codeigniter app is installed and one needs to login separately in it .The "thankyou" pages are located within codeigniter and they dont get tracked by Google Analytics through any plugin.Do you have any suggestion how to track the "thankyou" pages in GA?

Thanks


how to implement iptracher .php in my codeigniter application - datta - 01-30-2017

how to implement iptracher .php in my codeigniter application