= $low && $check <= $high) return 1; else return 0; } /* Check address against each range */ foreach($banned_address_ranges as $range) { if ( check_cidr($_SERVER['REMOTE_ADDR'], $range) ) { echo ""; echo ""; echo "Banned IP Address Range!"; echo "

Sorry. Access to this page has been blocked.

"; echo "

Access to this part of the web site has been blocked to Brazilian internet users.

"; echo "

Access will be restored once Phorm cease operations in Brazil.

"; echo ""; ob_end_flush(); exit; } } ?>