I have a fairly popular forum implemented with a standard version of phpBB's latest version (3.0.8). The problem is that spam bots can register to the forum and post spam messages. I have tried all of the captcha systems and none of them work perfectly.
Your job is to modify the registration page of my phpBB installation to add two additional spam bot detections:
1. A question. There is a text input box and a label for it. The label says "Mary had a little lamb. What was the size of the lamb?" and the text input box contains a default text of "huge". The user is supposed to write "small", "little" or "tiny" to the text box. If anything else is written to the box, the registration shows an error message.
2. Math question. The page generates a simple math equation in string form and asks the user for the right answer. A question could be "How much is three plus three?" or "How much is two minus one".
3. A hidden question. Add a hidden text input box to the registration page. If anything is written to it, show an error message.
You are not given any server access. You must develop this code with your own server, test it to work and when you are done, send me the modified files and I will add them to my server.