Hey guise, let's look at the sourcecode of this posting page here.
- Code: Select all
<dl style="clear: left;">
<dt><label for="subject">Subject:</label></dt>
<dd><input name="subject" id="subject" size="45" maxlength="64" tabindex="2" class="inputbox autowidth" type="text"></dd>
</dl>[/code
And this is what we want:
[code]<input name="subject" id="subject" size="45" maxlength="64" tabindex="2" class="inputbox autowidth" type="text">[/code]
This is the textfield for the Subject. You can easily recognize that...
[b]maxlength="64"[/b] - there can be only 64 characters in there
[b]size="45"[/b] - the field is 45 characters long
... but what's with [b]name="subject"[/b] and [b]id="subject"[/b]?
Every field has an ID. And that's what the spambots use.
Bots just go like
[code]Fill in "Free pr0n" in the textfield with the id "subject"
And that's how we can reduce spam - we could just change the ID of the textfield and WHAM!
L2's suggestion is simpler, and can also work this way. If we change the ID of the buttons to "zuvfigghf", no spambot will have that on his list, and they get denied on registering.
tl;drIt works.