Function getUserIP
Returns the viewer's IP address Deals with transparent proxies
boolean |
$anonymize = null |
<p>If null (default) the backend option setting is used. Override with anonymize levels - 0 (No anonymizing) - 1 (Last fourth anonymized) - 2 (Last half anonymized) - 3 (Last three fourths anonymized) - 4 (Full anonymization, no IP stored)</p> |
string
|
string |