PHP Classes
elePHPant
Icontem

Client Data: Get the user browser details and location

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-10-09 (13 days ago) RSS 2.0 feedNot enough user ratingsTotal: 6 This week: 6All time: 8,603 This week: 177Up
Version License PHP version Categories
client-data 1.0MIT/X Consortium ...5.4HTTP, PHP 5, Geography
Description Author

This class can Get the user browser details and location.

It can check the user agent string and determine the browser type, user device type, and IP address.

The class can also retrieve the user location from the IP address using the GeoIP package.

Picture of Itay Segal
  Performance   Level  
Name: Itay Segal <contact>
Classes: 2 packages by
Country: Israel Israel

Details
In order to use this class you need to include GeoIP db.

you can find the database HERE:
https://dev.maxmind.com/geoip/geoip2/geolite2/

and the .phar OR composer HERE:
https://github.com/maxmind/GeoIP2-php
  Files folder image Files  
File Role Description
Plain text file BrowserData.php Class get client data
Accessible without login Plain text file README.txt Doc. read me file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:6
This week:6
All time:8,603
This week:177Up