/ Published in: ColdFusion
Built right into Coldfusion is the ability to generate CAPTCHA images for form validation without any outside library's, plug-ins, or crazy workarounds. It's incredibly simple using the cfimage tag as below:
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<cfset size = 25 * 11 * 1.08/> <cfimage action="captcha" fontSize="25" width="#size#" height="50" text="ThisIsATest" fonts="Verdana,Arial,Courier New,Courier" difficulty="low">