Fellow monks, excuse me if this is too simple or if it has been asked. I used search, but it's late after a long days work, and I need a quick fix against misuse of an existing web feedback script by spammers.
Should'nt the following
$spammer=1 unless (($f{'Email'} =~ m/^[a-zA-Z_\-.0-9]+@[a-zA-Z_\-.0-9]+$/) or ($f{'Email'} eq ''));
only allow for $f{'Email'} to contain a valid email address without newlines in it and otherwise set $spammer=1 ? But it doesn't seem to, somehow I seem to be missing the point.
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |