Last Updated | | Ratings | | Unique User Downloads | | Download Rankings |
2022-07-22 (14 days ago) | | Not yet rated by the users | | Total: 106 This week: 9 | | All time: 9,538 This week: 24 |
|
Description | | Author |
This package can get the geographic location of a given IP address.
It can take as a parameter a given IP address that can be of the current user accessing the Web site.
The class returns the geographic location details of that user using the MaxMind GeoIP database library.
It returns details like the user browser, platform, date, time, country, state, and town. | |
|
|
Innovation award
Nominee: 4x |
|
Details
This project is no longer being maintained, please use Instead
99% accurate visitors tracking system.
USAGE
$stalk = new Stalk;
$stalk->ip; //outputs clients IP address
$stalk->browser->name; //outputs clients Browser name
$stalk->browser->version; //outputs clients Browser version
$stalk->browser->OS; //outputs clients Operating system
$stalk->country_code; //outputs clients country code
$stalk->country_code3; //outputs clients full country code
$stalk->country_name; //outputs clients country name
$stalk->region; //outputs clients region
$stalk->state; //outputs clients full region
$stalk->city; //outputs clients city
$stalk->postal_code; //outputs clients postal code
$stalk->latitude; //outputs clients latitude
$stalk->longitude; //outputs clients longitude
$stalk->area_code; //outputs clients area code
$stalk->dma_code; //outputs clients dma code
$stalk->metro_code; //outputs clients metro code
$stalk->continent_code; //outputs continent code
Change Log v1.01
- The get
, ip
and browser
method was remove.
- Public variables can no longer be accessed statically. eg: $stalk->city
as Stalk::city()
- Stalk can now be initialized as follow:
- Implicit $stalk = new Stalk;
- Explicit $stalk = new Stalk('11.22.33.444);
or $stalk = Stalk::ip('11.22.33.444);
|
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.