WordPress.org

Support

Support » Plugins and Hacks » Really Simple CAPTCHA » Number of characters

Number of characters

  • davejampole

    @davejampole

    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?

    http://wordpress.org/extend/plugins/really-simple-captcha/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I have the same question. Tried editing the php file, nothing changed. Did you find a solution?

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

    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) )

    like:

    $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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Number of characters’ is closed to new replies.
Skip to toolbar