summaryrefslogtreecommitdiffstats
path: root/system/helpers/captcha_helper.php
AgeCommit message (Collapse)AuthorFilesLines
2019-01-08[ci skip] Fix #5674Andrey Andreev1-2/+2
2018-12-27Update copyright date to 2019Jim Parry1-2/+2
2018-12-09Add px to width and height for inline styleKhaled1-1/+1
The image's width and height are always more than 0; so, adding "px" after the width and height is necessary for HTML validation.
2018-05-18http:// to https://Mehdi Bounya1-2/+2
2018-01-09Annual copyright updateMaster Yoda1-2/+2
2017-11-07Merge branch '3.1-stable' into developAndrey Andreev1-4/+4
2017-11-07[ci skip] Deprecate extra parameters of the CAPTCHA helperAndrey Andreev1-4/+4
2017-11-07Implement data:image URIs in CAPTCHA helperAndrey Andreev1-28/+46
Also, switched to PNG by default and dropped JPEG; refactored image files GC. Close #5200
2017-01-16[ci skip] Fix #4985Andrey Andreev1-1/+1
2017-01-06[ci skip] A cosmetic change to the PR #4251Andrey Andreev1-2/+2
2017-01-06[ci skip] Merge pull request #4251 from dimitribalazs/patch-2Andrey Andreev1-2/+3
Added alt attribute functionality to captcha helper
2017-01-03Update copyright data to 2017Master Yoda1-2/+2
2016-12-31Update copyright data to 2017Master Yoda1-2/+2
2016-09-30Merge pull request #4822 from gxgpet/developAndrey Andreev1-1/+2
Fix PNG file deletion on captcha helper
2016-09-27- fixed identationGeorge Petculescu1-1/+1
2016-09-27- captcha helper will now look for .png files too when deleting old filesGeorge Petculescu1-1/+2
2016-09-27- revertGeorge Petculescu1-5/+4
2016-09-25- captcha helper uses now filemtime to get file timestampGeorge Petculescu1-4/+5
- captcha generated files are a sha1 of current timestamp and word - changed the usage of microtime to time, as this is a more realistic approach Signed-off-by: George Petculescu <gxgpet@gmail.com>
2016-02-04Fix #4427Andrey Andreev1-22/+23
2016-01-11[ci skip] Update ellislab.com links to https tooAndrey Andreev1-1/+1
2016-01-11[ci skip] Update codeigniter.com links to httpsAndrey Andreev1-2/+2
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-11-18Added alt attribute functionality …dimitribalazs1-2/+3
It hasn't been possible to set the alt attribute on the image. Added img_alt key on the $defaults array and integrated the $img_alt variable into the img string.
2015-11-09[ci skip] Fix an infinite loop in captcha helperAndrey Andreev1-1/+2
2015-10-31Use proper randomness when generating CAPTCHAsAndrey Andreev1-2/+87
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-12-05removing extra spacesPreetham1-1/+1
Signed-off-by: Preetham <me@preetham.in>
2014-12-05Removed img_name from captcha helperPreetham1-2/+1
Signed-off-by: Preetham <me@preetham.in>
2014-12-05closing #51. Added img_id and img_name in capcha helperPreetham1-1/+3
Signed-off-by: Preetham <me@preetham.in>
2014-11-12removed additional tabs and semicolonPreetham1-2/+2
Signed-off-by: Preetham <me@preetham.in>
2014-11-12 Closing #656 and updating documentationPreetham1-3/+3
Signed-off-by: Preetham <me@preetham.in>
2014-11-12Fix #656 add font_size in create_captcha()Preetham1-2/+3
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-08-10Polish changes following PR #3173Andrey Andreev1-4/+4
2014-08-08Using ImagePNG in CAPTCHA helperET-NiK1-2/+16
Using ImagePNG function, if ImageJPG not exists
2014-05-08Removed empty lineegig1-1/+1
2014-05-08Prepare image url.egig1-1/+2
2014-02-26Don't use error suppression on is_dir(), file_exists()Andrey Andreev1-1/+1
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-07Use is_really_writable() in captcha helperAndrey Andreev1-1/+1
2013-10-21Add 'filename' to the return elements for create_captcha() (PR #2602)Andrey Andreev1-4/+4
2013-10-17Replace the last rand() with mt_rand()vlakoff1-7/+7
Better entropy, faster. Also fixed a few "it's" typos.
2013-07-26Fix #2558Andrey Andreev1-1/+1
2013-07-18Add color customization to the CAPTCHA helperAndrey Andreev1-17/+37
Ref: Issue #867 & PRs #1405, #2485
2013-04-14final change (extra space)ash1-1/+1
2013-04-14newline at endash1-1/+1
2013-04-14eolash1-1/+0
2013-04-14eol 2ash1-0/+1
2013-04-14eol test.ash1-1/+1