= $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 "Access to this part of the web site has been blocked to customers of Korea Telecom (KORNET), and subsidiaries.
"; echo "To restore full access to this site, please move to a Phorm free communication company.
"; echo ""; ob_end_flush(); exit; } } ?>