Coldfusion-CAPTCHA

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CF FAN
    New Member
    • Mar 2008
    • 50

    Coldfusion-CAPTCHA

    How to implement Captcha in coldfusion registation page?Plzzzz help
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    What have you got so far? You can use the cfimage tag in CF8. In older versions, there are some third-party CFCs that you could use or you could attempt to write your own probably using some Java methods.

    Comment

    • CF FAN
      New Member
      • Mar 2008
      • 50

      #3
      Code:
      <cfimage action="captcha" fontSize="15" width="67" height="50" text="rEadMeghjhjhj"
          destination="images/rEadMe#tc#.png" difficulty="medium">
      i used this code..but some fondsize setting eror showing

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        What's the error message?

        Comment

        • CF FAN
          New Member
          • Mar 2008
          • 50

          #5
          An invalid argument has caused this error.
          Verify your inputs. The specified width for the CAPTCHA image is not big enough to fit the text. Minimum width: 514

          Comment

          • CF FAN
            New Member
            • Mar 2008
            • 50

            #6
            An invalid argument has caused this error.
            Verify your inputs. The specified width for the CAPTCHA image is not big enough to fit the text.

            Comment

            • acoder
              Recognized Expert MVP
              • Nov 2006
              • 16032

              #7
              The error message is clear enough and even provides you with the minimum width. Change the width from 67 to 514.

              Comment

              • CF FAN
                New Member
                • Mar 2008
                • 50

                #8
                Ohhh greatt......... .....now it's working fine,,,,,,,,

                Comment

                • acoder
                  Recognized Expert MVP
                  • Nov 2006
                  • 16032

                  #9
                  Glad to hear it. Easy enough in the end - if only all error messages were so helpful.

                  Comment

                  Working...