Sunnysideup\CloudFlare\Api\CloudFlareGeoIP
Synopsis
class CloudFlareGeoIP
extends Geoip
{
- // members
- private static string $debug_email = '';
- // methods
- public static string ip2country()
- public static bool|string visitor_country()
- public static string get_remote_address()
Hierarchy
Extends
- Sunnysideup\Geoip\Geoip
Members
private
- $debug_email
Methods
public
- get_remote_address()
- ip2country() — Find the country for an IP address.
- visitor_country() — Returns the country code, for the current visitor.