Problem with Y_INI login system
#1

Hello !

I follow the Kush tutorial to get the login/register system, its hard for me to correct the script by myself because i don't understand all the function (some are not explained).
Now i have a problem. Everythings works fine, i can register myself, the password his hashed, and save in scriptfile\User\<name>.ini

But when i must enter my password to log myself, it does'nt work, if you want more explaination, tell me.

(Pmdp is the variable which contain the password)

PASTEBIN: http://pastebin.com/JdYWBmVG
Reply
#2

bump
Reply
#3

I'm pretty sure the only problem with it is the "Mot de passe". You can't use spaces in the name of it, try "MotdePasse", everything else looks alright.
Reply
#4

Quote:
Originally Posted by 2KY
Посмотреть сообщение
I'm pretty sure the only problem with it is the "Mot de passe". You can't use spaces in the name of it, try "MotdePasse", everything else looks alright.
What YSI are you using? 3.1?

Because Kush' tutorial uses a hash which isn't supported with newer YSI version, which doesn't let you log in.
Reply
#5

I don't know what version i have, but i solve the problem adding _ in replacment of " "

Thanks a lot 2KY
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)