client.ip: client.ip

Description Usage Details Value Author(s) Examples

Description

Return client IP address

Usage

1

Details

This is the "X-Forwarded-For" header, if available, and otherwise the "remote_ip" component of the global SERVER variable

Value

SERVER$remote_ip

Author(s)

Brad Friedman

Examples

1
2
SERVER <<- list(remote_ip = "127.0.0.1")
client.ip()

apomatix/AnalysisPageServer documentation built on May 26, 2019, 11:36 a.m.