View Full Version : IP block script
09-16-2005, 03: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, 03:35 PM
09-16-2005, 04:00 PM
I don't want to use .htaccess.
09-16-2005, 04:14 PM
09-16-2005, 04: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, 04:24 PM
Simply adding a include('IP_Block.php'); won't hurt.
09-16-2005, 04:54 PM
if ($_SERVER['REMOTE_ADDR'] == '220.127.116.11-81.123.111')
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.