Really Simple CAPTCHA
Number of characters (4 posts)

  1. davejampole
    Posted 3 years ago #

    This plugin is simple to install and use - it works exactly as advertised. However, when installing in to use with my CF7 form, I'd like the ability to set the number of characters to something greater than 4 (maybe 6?), on the assumption that the more characters, the harder to break.

    Is this possible?


  2. kathleenie
    Posted 3 years ago #

    I have the same question. Tried editing the php file, nothing changed. Did you find a solution?

  3. maximinus
    Posted 3 years ago #

    Same problem, same atempt (editing php file), same result ( it doesn't work)

  4. armuser
    Posted 3 years ago #

    I achieve that by changing these lines of code:

    1. $this->char_length = 4;
    2. if ( $im = imagecreatetruecolor( $this->img_size[0], $this->img_size[1]) )

    change to:

    1. $this->char_length = $count;
    2. if ( $im = imagecreatetruecolor( $width, $height) )


    $this->char_length = 6;
    imagecreatetruecolor( 200, 40)

    and add some js:

    jQuery('img#captcha').css('width', 200); jQuery('img#captcha').css('height', 40);

    that's all, hope this help you

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Really Simple CAPTCHA
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic