Returns the IP address of the client using the given methods.
public getIpAddress ( mixed $source = null ) : string | ||
$source | mixed | (optional) The source data. If omitted, the class will use the value passed to Whip::setSource or fallback to $_SERVER. |
return | string | Returns the IP address as a string or false if no IP address could be found. |