BLACK FRIDAY DEALS

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

Leave review
P

Pierre

QC, Canada

My first experience with VPS and I din't really know what to do or what to expect. AykSolutions.com...

Read full review
J

James Oliver Cyr, M

AZ, United States

AYK Solutions has been the server for my website for 8 or 9 years, and in all that time I have gotte...

Read full review
B

Bruce L

MD, United States

We have been customers for several years. Just wanted to give a thumbs-up for their excellent respon...

Read full review
K

kkodev

London, United Kingdom

After getting a dedicated server from AYK for almost 2 years, I couldn't be more happy. The prices...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft