Visitor::ip PHP Méthode

ip() public static méthode

Returns the ip address of the current visitor
public static ip ( ) : string
Résultat string
    public static function ip()
    {
        return getenv('REMOTE_ADDR');
    }