REGISTER AND LOGIN SYSTEM [HELP] -
jetpas - 15.10.2013
hey, i just wanna make a unique login/register system on my server.
so if some people want to play on my server must register at my forum.
i mean, the username and password for forum is same as in the samp game.
Can you help me for the code. Thanks a lot for helping
sorry for my bad english. I;m indonesian
Re: REGISTER AND LOGIN SYSTEM [HELP] -
PrivatioBoni - 15.10.2013
This will require a lot of code (personally, I'm not even sure if it's possible), and isn't even a good idea.
What if someone cracks/hacks an admin's password in-game? He will be able to cause chaos in-game AND on the forum. And vice versa. Also, if you've forgotten your password in-game, you've forgotten your password on the forum, and vice versa. Also, it is generally safer and more secure to have separate passwords for separate things -- common (internet) sense.
Just use a premade registration system, if anything in your server needs to be "unique", it doesn't have to be the registration system. It's just a compulsory element of your server which has to be done, but doesn't have to be unique.
Re: REGISTER AND LOGIN SYSTEM [HELP] -
Misiur - 15.10.2013
First of all, it's not unique, quite common I might add. 99% of forums are using database, not files, so there's your starting point. You need to get hashing algorithm used by your board, and implement it in pawn.
PrivatioBoni concerns aren't too realistic either (of course if you use salted passwords hashes). Though the part about using multiple diffrent passwords is a good tip. You could create player accounts with diffrent passwords linked to main master forum account.
Re: REGISTER AND LOGIN SYSTEM [HELP] -
Mattakil - 15.10.2013
You'll have to learn about PHP and mysql. The server would have to same to the same sql database that the website register field comes from, though LSRP uses the same thing so its not really unique