PHP Classes

Very Simple IP Details: Get IP address location and Google Maps image

Recommend this page to a friend!
  Info   View files Example   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 476 This week: 1All time: 5,972 This week: 560Up
Version License PHP version Categories
vsid 1.0.1Public Domain5Networking, PHP 5, Web services, Geog...
Description 

Author

This class can get IP address location and Google Maps image.

It can send a HTTP request to the IPInfo.io API to get the geographic location details of a given IP address. Currently it can obtain IP address country code, region, city, postal code, latitude, longitude, hostname and organization.

The class can also return HTML to embed a static image from Google Maps showing the geographic location of the IP address.

Picture of zinsou A.A.E.Moïse
  Performance   Level  
Name: zinsou A.A.E.Moïse is available for providing paid consulting. Contact zinsou A.A.E.Moïse .
Classes: 50 packages by
Country: Benin Benin
Age: 34
All time rank: 6781 in Benin Benin
Week rank: 109 Up1 in Benin Benin Equal
Innovation award
Innovation award
Nominee: 23x

Winner: 2x

Recommendations

What is the best PHP mobile location finder class?
Find mobile user location

What is the best PHP geolocation class?
Find city and country name by IP

Google Map script with PHP
Google Map script with PHP

User location using an API
Search user location with an API

Detect user's location at the street level
Web site user's location

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

What is the best PHP ip to latitude longitude class?
Given IP address return latitude longitude

Value of latitude and longitude
Value of latitude and longitude than can help me to

Example

<?php
include("class.ipdetails.php");
$ip="66.84.41.158";
$myip=new vsipdetails($ip);
echo
'<pre>';
print_r ($myip->scan());
echo
$myip->get_map();
$myip->close();

?>


  Files folder image Files  
File Role Description
Plain text file class.ipdetails.php Class source class
Plain text file class.ipdetailsold Class class source
Accessible without login Plain text file example.php Example example script
Accessible without login Plain text file example_newV.php Example example script for new version
Accessible without login Plain text file ipcache.sql Data Sql table

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1
Total:476
This week:1
All time:5,972
This week:560Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:674
 
Very good, I have simular class.
6 years ago (Velimir Majstorov)
55%StarStarStar