Page 1 of 1

can I avoid spam with an 'if statement'?

Posted: 04 Nov 2011, 16:48
by konzepta
Hi and thanks for the phoca guestbook that we use with good experience. Our only problem is much too much spam lands there - then someone told me just to add an 'if statement' stating that if not from .dk or .com then ignore and don't post. But I don't know exactly how or where - can anybody help, then I would be grateful :)

Re: can I avoid spam with an 'if statement'?

Posted: 09 Nov 2011, 22:47
by Jan
Hi, for now I have no experiences, you need to somehow detect ip and check if it is danish ip (but ips can be faked :idea:)

Try to do all possible settings described here:
https://www.phoca.cz/documents/3-phoca-g ... -from-spam

Jan