diff options
author | ash <ashleybaker@gmail.com> | 2013-04-10 13:40:31 +0200 |
---|---|---|
committer | ash <ashleybaker@gmail.com> | 2013-04-10 13:40:31 +0200 |
commit | 3fd9bf8777d6aea531a765f4bc0d995d24395221 (patch) | |
tree | 72319098fe5290f5a078d28b881307b333353ef9 /user_guide_src/source/helpers | |
parent | 79dfac7d2b8628d114b02493aa842acd39d39ede (diff) |
Updated documenation
Diffstat (limited to 'user_guide_src/source/helpers')
-rw-r--r-- | user_guide_src/source/helpers/captcha_helper.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/user_guide_src/source/helpers/captcha_helper.rst b/user_guide_src/source/helpers/captcha_helper.rst index 17462a8de..598fdb4c6 100644 --- a/user_guide_src/source/helpers/captcha_helper.rst +++ b/user_guide_src/source/helpers/captcha_helper.rst @@ -62,7 +62,9 @@ Once loaded you can generate a captcha like this:: 'font_path' => './path/to/fonts/texb.ttf', 'img_width' => '150', 'img_height' => 30, - 'expiration' => 7200 + 'expiration' => 7200, + 'captcha_word_length' => 8, + 'character_pool_for_generated_word' => '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ); $cap = create_captcha($vals); @@ -140,4 +142,4 @@ this:: if ($row->count == 0) { echo 'You must submit the word that appears in the image.'; - }
\ No newline at end of file + } |