True Case Insensitivity
Hi, I to was perplexed with the sensitivity of the captcha codes and in the forum I found a way to make the code lower case (which most users use) but still needed to have a warning declaring that the captcha was case sensitive.
I contacted the OSTicket staff and they replied with:
To get captcha case insensitive - change code in open.php as follows;
strcmp($_SESSION,md5($_POST)
to
strcmp($_SESSION,md5(strtoupper($_POST))
btw...that is line 27 and when done should look like this
elseif (strcmp($_SESSION,md5(strtoupper($_POST))))
There was a post made on the subject and the code changes only made it to lower case and a change to class.captcha.php which was
$this->hash = strtoupper(substr(md5(rand(0, 9999)),rand(0, 24),$len));
change to:
$this->hash = strtolower(substr(md5(rand(0, 9999)),rand(0, 24),$len));
This needs to be "undone".
A big thanks to the staff at OS for their quick response and help on that one.
:) :) :) :)