View Full Version : IP block script
09-16-2005, 04:12 PM
I'm looking for a simple IP block script that will allow me to block IP ranges and let the blocked people see a page that tells them that they hare banned.
09-16-2005, 04:35 PM
09-16-2005, 05:00 PM
I don't want to use .htaccess.
09-16-2005, 05:14 PM
09-16-2005, 05:16 PM
but you will have to put it on every single page that you want to block, it would be much easier to do with .htaccess
09-16-2005, 05:24 PM
Simply adding a include('IP_Block.php'); won't hurt.
09-16-2005, 05:54 PM
if ($_SERVER['REMOTE_ADDR'] == '22.214.171.124-81.123.111')
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.