Hi, I know next to nothing about PHP. One simple snippet I need.
In plain english something like this:
if ip other than "12.34.56.*" or "23.45.*.*"
then continue displaying page.
then display "my text" and stop(or redirect)
(i need this to block spammers destroying my wordpress blog (or leaving me with hundreds of comments to moderate every day). there are only a few of them, so this seems like the best solution. before you suggest a different approach, please give pointers on the above)
Thanks a million