| Ratings |   | Unique User Downloads |   | Download Rankings | 
     64% |  | Total: 477  |  | All time:  5,969 This week: 140  | 
 | 
| 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.  |  | 
  | 
 | 
Innovation award
   Nominee: 23x
  Winner: 2x |  
 
 
  | 
Recommendations
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();
 
 
?>
 
 
 | 
 
 
|   | 
Applications that use this package | 
  | 
No pages of applications that use this class were specified.
 If you know an application of this package, send a message to the author to add a link here.
|   | 
Other classes that need this package | 
  | 
| Class | 
Why it is needed | 
Dependency | 
| PHP User Location Details | 
Know more about specific methods and required if you want to store details in database or work on it | 
Required |