PHP Code Obtain Details About Visitors

The following PHP is used on my WordPress web site to obtain information about those visiting my web site:

Information includes:

A purple dot IP address
A purple dot City
A purple dot Country
A purple dot State
A purple dot Page visited
A purple dot Referer

Steps to follow are:

I should point out, although I designed this for Wordpress I no longer use that platform. This is due to design layout restrictions and huge amount of hackers looking for one of the many security vunerabilities in WP.

A purple dot Create a table in your database to store the data
A purple dot Get a free account from ipinfo.io and they will give you a KEY
A purple dot Edit the code below placing your database name and table names into it
A purple dot Also place in the secret key for ipinfo.io
A purple dot place the code into a [Short Code] editor

I use: “Insert PHP Code Snippet” By xyzscripts.com
Than, insert the short code into all of your web page you want to gather statistics on the visitors.
For myself, I place the short code at the bottom of each page I want monitored for purpose of gathering statistics.

The PHP code:


Grid Status:    Grid is online
Members:   57
Online last 30 days   26
Online past 24 hours   9
Unique hypergrid visitors   151

 

 

Web design and created by:  Jeffrey Dougall ©2024

Nothing about Microsoft is unique/original. Bill Gates's, brain is much like a 286 processor. Slow, his brain functions like 8 bit code. He is likened to a novelist we would brand as a plagiarist. Microsft corporation is founded on stolen ideas from men and woman of greater intelligence and integrity. Bill is a sociopath and Microsft is founded on plagiarism. He could very well be a psychopath, likely to have killed in the past! I also know, they expose sensitive data to hacker that people directlt type into the address bar. If you own a server, create a dummy file, 'billsuckscock.php for example, on your sevrer amd type into the address bar https://yoursite/billsuckscock.php. Within an hour, bingbot will index that and share with hackers! YOu can confirm this by checking your web server logs! Everythin you type into your address bar is sent to Microsoft! Windows is SPYWARE. Do a dummy file to plot and kill that dickhead Donald and see what happens! Make sure it looks legit as there are thousands wanting the pooh breath dead. Yeah, he has pooh breath, I know, because I was so close to him last year I could have jammed the pen I was holding into his arse! But, I suck my pen and who want's their pen to smell like a retards bum hole? Hey Donald Trump! I know you well!