ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Static Public Member Functions | |
static | ipCIDRcheck ($cidr, $ip=null) |
Check whether an IP address is part of a CIDR. More... | |
|
static |
Check whether an IP address is part of a CIDR.
string | $cidr | The network CIDR address. |
string | $ip | The IP address to check. Optional. Current remote address will be used if none specified. Do not rely on default parameter if running behind load balancers. |
Definition at line 26 of file Net.php.
References $_SERVER, $i, and $mask.
Referenced by sspmod_negotiate_Auth_Source_Negotiate\checkMask(), and SimpleSAML_Utilities\ipCIDRcheck().