PHP Classes

PHP Get Visitor Info: Get visitor information and store in a database

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 66%Total: 1,343 All time: 2,884 This week: 524Up
Version License PHP version Categories
get-visitor-info 2Free For Educatio...5.0PHP 5, User Management, Web services, G..., L...


This class can get visitor information and store in a database.

It can retrieve several details about the current page visitor from it IP address and other request headers.

The retrieved information is stored in a MySQL database table.

Currently it record the user computer operating system, browser, IP address, country, city, geographical coordinates, the internet service provider or the organization using the Web services.

The stored data can be associated to a given server domain address.

Picture of Dragan Zlatkovski
  Performance   Level  
Name: Dragan Zlatkovski <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 1976279 in United States United States
Week rank: 328 Up38 in United States United States Up


Google Map script with PHP
Google Map script with PHP

What is the best PHP localization visitor country class?
Localization visitor country with PHP

What is the best PHP visitor location class?
Find a visitor IP address longitude and latitude

Web based Tracking System
Tracking System


$info=new Visitors();
<!DOCTYPE html>
<html lang="en" xmlns="">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="Dragan Zlatkovski">




  • GoogleMapSnip
  • Snip1
  • Snip2
  Files folder image Files  
File Role Description
Accessible without login Plain text file database.sql Data database table
Accessible without login Plain text file example2.php Example represent data in html table
Accessible without login Plain text file GoogleMap.php Example Google map with marked locations of users who accessed the server. The map provides the ability to select periods for review and displays information in a pop window.
Accessible without login Plain text file index.php Example example
Plain text file Visitors.php Class Class Visitors
Plain text file VisitorsCon.php Class Database connection class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,884
This week:524Up
User Ratings User Comments (1)
 All time
Good one
9 years ago (Shanthamurthy G S)