Forum Moderators: phranque
Here is an example entry :
Name : <option value= buy keyterm
E-Mail : spamterm@spamterm.com
City : Ohio
Country : Virgin Is. - British
How Found : Web Search Engine
Lodge Visited : Yes
Message : <removed urls>
Any assitance would be greatly appreciated. Thanks.
[edited by: jatar_k at 6:55 am (utc) on Oct. 24, 2006]
[edit reason] removed specifics [/edit]
There is some discussion of this here:
How to block a spam bot with changing IP address [webmasterworld.com]
A captcha is an image that you display to the user so the user has to read and enter what's in the image... this in general makes it hard for 'spam bots' to submit your form.
Some of the other suggestions in that thread, such as checking HTTP_REFERER are pretty good also. None of these ideas are foolproof but they might help.
You might also consider 'locking down' (not accepting new posts) on your current guest book program, link to it as the guest book archive, and start using a newer program that implements some sort of spam prevention ... this way you don't have to do any coding and the spam will stop or slow down. Or there might even be an upgrade for your current guest book script that includes some spam-blocking features.