Net_IPv4::ipInNetwork()

Net_IPv4::ipInNetwork() --  Determines whether or not the supplied IP is within the supplied network.

Synopsis

require_once 'Net/IPv4.php';

bool validateIP (string $ip_addr, string $cidr_block)

Description

Determines whether or not the supplied IP address is within the supplied network.

Note

This function can be called statically.