I have been testing v1.6.5 for a web site I am developing and have been finding that I can not submit questions as the captcha rejects my entry often due to confusing characters. a letter O appears like a Number 0 (Zero).
An I can look like a 1 as well.
Is it possible to make the letters clearer or remove the use of confusing characters all together. I realize the purpose of the captcha, but when it thwarts even legitimate users, it makes it difficult to use. I am setting this up for a school and expect a non technical audience. I'd prefer to have this be as simple a process as possible yet still have safety measures in place.
Thanks,
Scott G.
Captcha-Issues with clarity of letters/numbers
Moderator: Thorsten
Hi Scott,
STF (Search The Forum) is your friend
Regards,
Matteo
STF (Search The Forum) is your friend
You can either enter letter 0 or number 0 'cause they are considered equal since PMF 1.6.0.griz wrote:a letter O appears like a Number 0 (Zero).
Read here about how to mitigate the issue.griz wrote:I'd prefer to have this be as simple a process as possible yet still have safety measures in place.
Regards,
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist
Matteo,
I would like to find a way to eliminate the O and I characters from what is presented in the captcha. In reading the other forum, entries, there was a mention of the file Captcha.php containing the array of letters. Can I presume that removing letters from this array will eliminate them from being presented in the captcha?
Lastly, if this will work, where do I find Captcha.php. I have searched high and low for it and turned up nothing.
Thanks,
Scott
I would like to find a way to eliminate the O and I characters from what is presented in the captcha. In reading the other forum, entries, there was a mention of the file Captcha.php containing the array of letters. Can I presume that removing letters from this array will eliminate them from being presented in the captcha?
Lastly, if this will work, where do I find Captcha.php. I have searched high and low for it and turned up nothing.
Thanks,
Scott
Hi Scott,
bye
Thorsten
sure!Can I presume that removing letters from this array will eliminate them from being presented in the captcha?
just look into the constructor method PMF_Captcha for this code:Lastly, if this will work, where do I find Captcha.php. I have searched high and low for it and turned up nothing.
Code: Select all
$this->letters = array('1', '2', '3', '4', '5', '6', '7', '8', '9',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I',
'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' );
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
I managed to remove the O and Zero, also the letter I. I left in the "1". I used 3 fonts, all that have a 1 with serif. The fonts I chose were freely available online and are odd enough that they would be confusing to a bot.david_de wrote:If it is too clear the bots will walk right through it. In that case may as well just turn it off. There is a reason it was set not to be too clear.
I figure it is also useless to have a captcha in place that trips up real users so I needed to bring it down just enough and still keep some level of protection.
Thanks for all your advice.
Verry often the last captcha signs are not readable. Is there a way to change the colors for the captcha picture? Please look at attached pictures. There you can see the last signs you can't read.
I believe it would be enough if we could set background color to ffffff
7 tests gives 3 unreadable captcha pictures. How can i change this?
(PhPmyFAq v1.6.8. at www.dvbviewerfaq.de)
I believe it would be enough if we could set background color to ffffff
7 tests gives 3 unreadable captcha pictures. How can i change this?
(PhPmyFAq v1.6.8. at www.dvbviewerfaq.de)
That happens 'cause the random colors chosen for the font color are unfortunately equal to that of the background: I'll look at the issue.klausing wrote:Verry often the last captcha signs are not readable. Is there a way to change the colors for the captcha picture? Please look at attached pictures. There you can see the last signs you can't read.
I think that fixing the not-so-rare condition above should be the right solution.klausing wrote:I believe it would be enough if we could set background color to ffffff
7 tests gives 3 unreadable captcha pictures. How can i change this?
BTW, please, locate, backup and open the [PATH_TO_PMF_INSTALL]/inc/captcha.php file, find the createBackground() function and move this line below from:
Code: Select all
...
$colorallocate = imagecolorallocate($this->img, rand(220, 255), rand(220, 255), rand(220, 255));
...
Code: Select all
...
$colorallocate = imagecolorallocate($this->img, 255, 255, 255);
...
Matteo
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Amazon.co.uk Wishlist