Real Time Web Analytics /* Author: F4LLCON * Date: February 15, 2014 * Project: Visitor Analytics Tracker V2.0 */ /* this line is needed to track and store on MySQL database. * copy/paste require_once('includes/visitor_tracking.php'); * to any page that you want to track and trace visitors. * that page must support PHP */ require_once('includes/visitor_tracking.php'); // will collect the information of your system $user_information = "Browser: ".$ua['name'] ."
Platform: " .$ua['platform'] ."
Date and time: " .date("d-m-Y G:i:s") ."
IP: " .GetHostByName($_SERVER['REMOTE_ADDR']) ."


" ."
Country: " .$country ."
State: " .$state ."
Town: " .$town ."


" .$_SERVER['HTTP_USER_AGENT'] ."

"; // will print the information on the website //print_r($user_information); ?>