Skip to content

Mike-Dunton/visitTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

visitTracker

Simple php application that tracks visitor information

Set up

Create the database user and grant privileges to the user.

CREATE DATABASE visitTracker;
CREATE USER 'user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON  visitTracker.* TO 'user'@'localhost';
FLUSH PRIVILEGES;

How to use

On any page you want to track visitors just add this snipit and replace the name of the page

<?php
    include_once('visitTracker/visitTracker.php');

    $visitTracker = new Page("Home");
    $visitTracker->track($_SERVER);
?>

About

Simple php application that tracks visitor information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages