[wp-hackers] wp-denyhost
Per Søderlind
per at soderlind.no
Fri Apr 18 07:38:05 GMT 2008
Mahmoud H. Al-Qudsi wrote:
> Kimmo wrote:
> > You should be using the = operator instead of LIKE.
> >
> > Just think how many IP addresses match %4.12.32.1%, when presumably
> > you only want to match that single address.
>
> Or at least 4.12.32.1%
>
You are both right, it was a bit late last night when I released this :)
Personally, I'm going to use the first three octets e.g. 4.12.32.%, if you
are in the neighborhood of 4.12.32.1 (i.e. 4.12.32.*) it's your bad.
The next version will use = instead of LIKE.
../PerS - http://www.soderlind.no/denyhost -
http://www.soderlind.no/ImageManager
More information about the wp-hackers
mailing list