I am trying (and failing) to create a check on my website registration page. This check is to ensure that *only* people who are permitted to create an account actually do create an account.
So, my website is for people to upload photos of a wedding. They first of all have to register. However, to be allowed to register I want them to answer the question 'what was the brides maiden name?'. If they get it right, their registration is successful. If they get it wrong, it should fail to allow them to register.
I have tried all sorts of solutions, but for some reason, i just cannot get it to display (between register_user.php and register_user_form.php I would have thought it would be simple to do this, apparently not!).
I was thinking that I would literally just store the answer to the question as a string, and then compare the entry to the stored string. I dont really mind if bots can see it, because I have the honeypot to protect against bots.
Anyway, if anyone has any thoughts I would really appreciate any help you can give.