Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Downloadable files

I noticed that there was a commercial IP Deny Manager as well as an IP Blocker that was based off the Hotlink blocker (that unfortunately had a limit of 1 IP Address), so I decided I'd make a free one of my own from the ground up as I've been wanting to learn how to use the Plugin System anyways. This, like the others, simply adds onto your .htaccess file. It has beginning and ending comment tags that it uses, so it should be safe with anything else you have in there. Tell me if any problems come up. I think I worked out all the bugs, but you never know.


Version 1.8:
- Changed a few things to make the script backwards compatible with PHP4
- Made it display errors if the .htaccess isn't writeable or if the entries were incorrect
- Added the ability to block blocks of IPs ("192.168." to block all IPs from 192.168.###.###) as well as domain names (for blocking ISPs and such)
- Removed the check for invalid IPs. Now it only checks that the entry is at least 5 characters long. Be careful.
http://dravu.com/directadmin/ipblocker.tar.gz
http://www.johannesspringer.at/dwnld/ipblocker.1.8.tar.gz

Version 1.7:
- Changed a few functions due to becoming deprecated in PHP 5.3 and PHP 6
http://www.johannesspringer.at/dwnld/ipblocker.1.7.tar.gz

See What Our Customers Say