It is working perfectly fine except that if you make an account named for exemple: Netsu ( with a uppercase ) and then you try to make an account using "netsu" (without the uppercase) the script will say that your registeration has been completed but the two accounts will be blocked and the server will actually send an error into the client saying that the ID is unregistered.
The problem is that the script is not checking if the login already exist with or without an uppercase & it fucks up everything.
I would like to know if any of you guys can help me making this registeration form check the database correctly and not allow the two same ID's in my DB.
Thank you !
Edit: Here is the PHP code that actually get the account into the DB
Question
Netsu
Hello guys !
I come to you today because I have a problem that I can't seem to fix so here it is:
I'm actually using this registeration PHP script: https://rathena.org/board/files/file/2265-iris-acccount-registration/
It is working perfectly fine except that if you make an account named for exemple: Netsu ( with a uppercase ) and then you try to make an account using "netsu" (without the uppercase) the script will say that your registeration has been completed but the two accounts will be blocked and the server will actually send an error into the client saying that the ID is unregistered.
The problem is that the script is not checking if the login already exist with or without an uppercase & it fucks up everything.
I would like to know if any of you guys can help me making this registeration form check the database correctly and not allow the two same ID's in my DB.
Thank you !
Edit: Here is the PHP code that actually get the account into the DB
Edited by NetsuLink to comment
Share on other sites
0 answers to this question
Recommended Posts