make it non case sensitive.

Ersetzt das Original phpBB CAPTCHA gegen eins mit diversen Konfigurationsmöglichkeiten.

make it non case sensitive.

Beitragvon Maximiliam » 4. Feb 2007 12:42

Hello,

How do you make it non case sensitive? I think the worst problem for our users is that you have to enter the word with big and small letters. Is there a way to make it so it is not case sensitive? So BIG and small letters does not matter?

/Maximiliam
Maximiliam
 
Beiträge: 3
Registriert: 4. Feb 2007 12:37

Beitragvon AmigaLink » 5. Feb 2007 13:00

Code: Alles auswählen
#
#-----[ FIND ]----------------------------------------------------------------
#

if ($row['code'] != $confirm_code)

#
#-----[ REPLACE WITH ]--------------------------------------------------------
#

if ($row['code'] != strtoupper($confirm_code))

Thus you reduce the security of the CAPTCHA.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon Maximiliam » 5. Feb 2007 19:34

The file that you make the change in is includes/usercp_register.php for anyone that wonders.

It works great, thanks :)
Maximiliam
 
Beiträge: 3
Registriert: 4. Feb 2007 12:37


Zurück zu Advanced Visual Confirmation



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 11 Gäste

cron