i can cobble scripts together and whatnot, but my knowledge of cgi/perl is very limited. i have a simple guestbook script i have been using for years, and it suites me well... i have modified it some to allow people to check a box and add themselves to my mailing list, and i incorporated google recaptcha (thanks to users from daniweb helping me) as well...
what i am looking for now, is some code to insert to allow the script not to publish if it contains certain words...
i have been blasted with spam, (even with the recaptcha installed)... and almost every post is containing the word UGG (ugg boots)
i want the script to not post if anywhere, there is the word UGG (or others, as i see fit)
and have it show the word that is not allowed in the error page..
ie.. sorry, you used the word UGG, go back and retry
how can i do this?
thank you
pj