Portions created by the Initial Developer are Copyright (C) 20018-2021 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //check the domain cidr range if (isset($_SESSION['domain']["cidr"]) && !defined('STDIN')) { $found = false; foreach($_SESSION['domain']["cidr"] as $cidr) { if (check_cidr($cidr, $_SERVER['REMOTE_ADDR'])) { $found = true; break; } } if (!$found) { echo "access denied"; exit; } } ?>