IPLocation
Categories
Component ID
2168659
Component name
IPLocation
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Feature :
- Define a country's name by ip when they visited your web.
- Allow some country to access your website
- Restrict spam
Guide :
- You install module "iplocation"
- Setting countries access web by link : admin/config/development/iplocation/setting
API :
- iplocation_get_country_by_ip($ip = 0) : get country's name by visitor's IP
Return array with structure array('VN','VNM','VIET NAM'); if this county is VIET NAM
- iplocation_alow($ip = 0) : Define ip has permission to allow access web
Return : boolean
