Sure, just depends how how you want to define the comparison between $REMOTE_ADDR and $blockip.
you need to define what those are:
192.33.43.* or 192.33.43.XX
wait just use:
int ereg ( string pattern, string string [, array regs])
"192.33.43.*" will match all IPs, even invalid IPs
"192.33.43..." will match second. I need to brush up my regular expressions.
Anyway, fiddle around with them and you should be able to get what you want.