Ok, ok, I've been holding off on this because I wanted to write
something up about it. Here it is.
1. Find an image package that will allow you to create and write text on
top of a image.
2. Create a file like below.
image.cfm
<cfset theImage=Your image manipulation package>
<cflock timeout="2" throwontimeout="yes" name="captchaImage">
<cfset session.captchaString=yourRandomUniqueStringGoesHere>
<cfset captchaString=session.captchaString>
</cflock>
<cfset theImage=write(session.captchaString)>
<cfcontent type="image/gif" reset="true>
<cfoutput>#variables.theImage#</cfoutput>
3. Include the image on your form
<img src="">
4. Include a field the user can type into.
5. Action page check form field with session.captchaString.
That's as simple as it gets.
Whittingham, P wrote:
> thanks...didn't know that.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- cfmx and CAPTCHA Whittingham, P
- Re: cfmx and CAPTCHA Rick Root
- Re: cfmx and CAPTCHA Doug James
- Re: cfmx and CAPTCHA Bryan F. Hogan
- Re: cfmx and CAPTCHA Matthew Fusfield
- Re: cfmx and CAPTCHA Ryan Emerle
- Re: cfmx and CAPTCHA Bryan F. Hogan
- Re: cfmx and CAPTCHA Bryan F. Hogan
- RE: cfmx and CAPTCHA Whittingham, P
- Re: cfmx and CAPTCHA Bryan F. Hogan
- Re: cfmx and CAPTCHA Matt Liotta
- Re: cfmx and CAPTCHA Bryan F. Hogan
- Re: cfmx and CAPTCHA Matt Liotta
- Re: cfmx and CAPTCHA Bryan F. Hogan
- Re: cfmx and CAPTCHA Adam Howitt
- Re: cfmx and CAPTCHA Bryan F. Hogan
- Re: cfmx and CAPTCHA Adam Howitt
- Re: cfmx and CAPTCHA Bryan F. Hogan
- RE: cfmx and CAPTCHA Burns, John D
- Re: cfmx and CAPTCHA Bryan F. Hogan