K one, if it is so simple show me how to do multiple IP banning without using mysql. and two, yes it will work on modems, they change the last of their address ie 100.100.100.192 the 192 is the one that changes, that is why I have if(($valuer[$i] == $values[$i]) || ($values[$i] == "*")) Meaning if I add 100.100.100.* anyone with the address of 100.100.100.1-255 is banned.