-
Notifications
You must be signed in to change notification settings - Fork 0
4.7.1 Configuration Ip2location Keys
Gurdeep Singh (Guru) edited this page Aug 11, 2024
·
1 revision
You can obtain keys from 3 ip2location websites.
- ip2location.io
- ip2location.com
- lite.ip2location.com
All 3 locations require you to signup to obtain the keys and they have free plans at ip2location.io and lite.ip2location.com websites. Once you have obtained those keys, you can add them to PHPFirewall via configuration and they will be used to make API calls to the .io site or download the database from other 2 locations (lite and full).
admin@phpterminal:firewall(config)# set ip2location io key
...
ENTER KEY : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
...
FIREWALL DETAILS > IP2LOCATION_IO_API_KEY : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
...
admin@phpterminal:firewall(config)#
$firewall->setConfigIp2locationIoKey('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')
admin@phpterminal:firewall(config)# set ip2location key
...
ENTER KEY : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
...
FIREWALL DETAILS > IP2LOCATION_API_KEY : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
...
admin@phpterminal:firewall(config)#
$firewall->setConfigIp2locationKey('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX')