PHP Classes
elePHPant
Icontem

PHP User Location Details: Find users' location and display it on Google Maps

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-11-01 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 263 All time: 7,547 This week: 438Up
Version License PHP version Categories
puld 1.0.0The PHP License5Networking, PHP 5, Web services, Geog...
Description Author

This package can find users' location and display it on Google Maps.

It can take the current user IP address and determine the IP associated location.

The package can also generate static images or display interactive maps using Google Maps to display the user location.

  Performance   Level  
Name: zinsou A.A.E.Mo´se is available for providing paid consulting. Contact zinsou A.A.E.Mo´se .
Classes: 48 packages by
Country: Benin Benin
Age: 29
All time rank: 9821 in Benin Benin
Week rank: 7 Up1 in Benin Benin Equal
Innovation award
Innovation award
Nominee: 20x

Winner: 2x

Details
This package allows the user to use these three packages: 

PHP-IP:   https://www.phpclasses.org/package/10484-PHP-Get-the-real-user-IP-address-even-behind-proxies.html, 

MapBuilder:   https://www.phpclasses.org/package/7600-PHP-Display-maps-using-Google-Maps-API-v3.html and 

Very simple IP details :   https://www.phpclasses.org/package/10436-PHP-Get-IP-address-location-and-Google-Maps-image.html,

to find users location or specific IP location details and show the location on a google static or interactive map.
The package just act as the glue that join the three packages so user need to download them separately to know
more about all the available methods and how to optimally take advantage of the package.

Please ,be sure to be patient while example file is loading google interactive map because it takes some time.

Also be sure to let the browser development tools open to know the progress while testing.

Finally you may got an API KEY issue while testing on localhost be sure to test it in this case online or try to get your own
API KEY by following the directives in the main class source.

For a basic how to use example see the file testKnowMyuser.php and read  carefully the comments lines.
For bug reporting,feedback and suggestion use this package's forum on other three package forums or 
contact me at leizmo@gmail.com;
  Files folder image Files  
File Role Description
Plain text file class.getIP.php Class class source
Plain text file class.ipdetails.php Class class source
Plain text file class.MapBuilder.php Class class source
Plain text file KnowMyUser.class.php Class main class source
Accessible without login Plain text file readme.txt Doc. readme
Accessible without login Plain text file testKnowMyUser.php Example example script

Downloadpuld-2017-11-01.zip 13KB
Downloadpuld-2017-11-01.tar.gz 12KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
Map Builder Download .zip .tar.gz license,documentation but also required because it is used to build and show interactive map from google based on user location Required
Very Simple IP Details Download .zip .tar.gz Know more about specific methods and required if you want to store details in database or work on it Required
PHP-Ip Download .zip .tar.gz license,documentation but also required because it is used to get user real ip even behind a proxy Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:263
This week:0
All time:7,547
This week:438Up