
can I avoid spam with an 'if statement'?
-
- Phoca Newbie
- Posts: 1
- Joined: 04 Nov 2011, 16:36
can I avoid spam with an 'if statement'?
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 

- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: can I avoid spam with an 'if statement'?
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
)
Try to do all possible settings described here:
https://www.phoca.cz/documents/3-phoca-g ... -from-spam
Jan

Try to do all possible settings described here:
https://www.phoca.cz/documents/3-phoca-g ... -from-spam
Jan
If you find Phoca extensions useful, please support the project