PDA

View Full Version : [fixed] Illegal user names - case sensitive?


Byron
Fri 11th May '01, 3:59am
Is the "Illegal user names" field in the CP case sensitive?

Do we need to enter Illegal user names in different case?

John
Fri 11th May '01, 7:33am
Yes they are currently case sensitive. I have just modified them so that they are not any more.

John

Byron
Fri 11th May '01, 7:40am
Hi John,

Do u mean it will not be case sensitive in the next version or we can make the changes now?

I have already upgraded to Candidate 3.

John
Fri 11th May '01, 1:54pm
Change register.php line 293 from:

if (strstr($username,$val)!="") {


to:
if (strstr(strtolower($username),strtolower($val))!="") {


John

Byron
Fri 11th May '01, 3:40pm
that works beautifully.

Thank you for your fast reply.