OK, everybody has had problems with bots etc spamming their guestbooks, ive had many guestbooks over the last four years with no spam because of my technique that i use.
Firstly, i use two guestbooks, Advanced Guestbook and Viper Guestbook.
The norm is to throw them into a dir named guestbook or gbook or something similar.
Instead make a directory called advgb or vipgb or something similar, it really dosent matter as long as its not bog standard.
Also, i have my guestbooks in an IFRAME from a page called advgb.php or .html or whatever.
The IFRAME works like this
HTML Code:
<IFRAME frameBorder="0" width="100%" height="1200" scrolling=auto src="http://www.domainname.net/advgb"></IFRAME>
OK, bots can go through code and find a link to guestbook.html or advgb.html and spam it pretty easily. Heres how i combat this.
Instead of putting in a standard HTML link, for eg
HTML Code:
<a href="advgb.html">
. Use a javascript link like this
HTML Code:
<a href="javascript:window.location='adv'+'gb.html'">
They have failed to read this and all of the above have kept my book spam free for years. Now this dosent stop people coming in and spamming, but it does stop the bots. Im sure there are other techniques, so you leave your comments / other techniques as replys.
Please ignore the \ in the code, i dont know why it keeps appearing there