View Full Version : ban ip script

09-12-2009, 11:14 PM

I like the ban script posted here

funny thing the creator for the script seems has been banned ..

any way the script works Ok just the Length , seems problem with the length Veriable

Undefined index: legnth in file func.ban.php line 20

can someone look at it ... or if any knows script do same thing .
ban ... Reason of ban ... time length.. for how long banned ip shoud keep out

Len Whistler
09-13-2009, 10:19 PM
This post from that thread is very good:



09-14-2009, 06:52 AM
would be much better if u answered my quastion if u knew the answer .. but thx for the link i have already read it before .. and still need to ban some by the ip and whenever they change it iwill ban them again .. my work includes auto ban in ay time he or she gets new ip

Phil Jackson
09-14-2009, 08:01 AM
all leads back to this:

echo "Legnth<br /><input type='text' name='legnth'><br />";
nothing actualy wrong with this code but make sure name='legnth' is the same, form method is set to post. Maybe even stick

at the bottom of banadmin.php to see whats hapening