I’ve seen a lot of Captcha (Completely Automated Public Turing Test to Tell Computers and Humans Apart) graphics on sites now-a-days, some of which are quite hard to read. One alternative, and don’t get me wrong it’s not better because it’s still text however it will make it a bit harder for bots to spam you, is to ask a question and have the user give the answer. In this example I’ll ask the question:
What is two added with four? Please enter the answer as a number.</blockquote> Below is a very basic ColdFusion page with that example. ```
<cfset n1 = randrange(1,10)> <cfset n2 = randrange(1,10)> <cfset nt = n1 + n2> <cfset nh = hash(nt)> What is #listGetAt(numberWords,n1)# added to #listGetAt(numberWords,n2)#?<cfif isDefined("form.answer")> <cfif hash(form.answer) neq form.hashvalue> Nope Yay! </cfif> </cfif> ``` Hopefully that might help someone!