/UserDataFromIp

Get User Country, Continent, Timezone, Country Currency From Ip address.

Primary LanguagePHP

Get User Data From Ip StandWithPalestine

Get User Country, Continent, Timezone, Country Currency From Ip address.

StandWithPalestine

Usage

Call index.php file and the class will detect the user Ip from User-agent.
if you know the user ip you can modify the class to send the Ip directly.
Results Are In JSON Format to be easy to parse.

Output example

the returned data will be like:

{
  "ip": "156.000.000.000", 
  "country": "Egypt", 
  "timezone": "Africa/Cairo", 
  "continent": "Africa", 
  "currency": ""
}

License

Powered & developed by Encept Ltd.
Apache License