danney1 / cool-php-captcha

Automatically exported from code.google.com/p/cool-php-captcha
GNU General Public License v3.0
0 stars 0 forks source link

check for missing dictionary file #11

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
next bug in captcha.php

at function GetDictionaryCaptchaText(...

before fopen($wordsfile, 'r')

you must use
if (!file_exists($wordsfile)) return false; 

because is here possible Warning output... that fails load an image

Original issue reported on code.google.com by svecp...@gmail.com on 31 Aug 2010 at 1:38

GoogleCodeExporter commented 8 years ago

Original comment by joserodr...@gmail.com on 1 Sep 2010 at 4:55

GoogleCodeExporter commented 8 years ago
Fixed in SVN.
Will be avalable on next release

Original comment by joserodr...@gmail.com on 23 Dec 2010 at 1:59