SA-MP Forums Archive
Linking UCP to SQL Database - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Linking UCP to SQL Database (/showthread.php?tid=560312)



Linking UCP to SQL Database - Lynn - 28.01.2015

Alright, so how do I link a UCP to my SQLDatabase, I know how to connect it however what I need to know is how do I make it so it will read Hashed passwords? When you register on my server it hashes the passwords for obvious reasons but I am not sure how to read hashpasswords from a UCP


Re: Linking UCP to SQL Database - Columbian - 28.01.2015

Do u want to see that live like that ?
2cf24dba5fb0a30e26e83b2ac5b9e29e1b161e5c1fa7425e73 043362938b9824 = Hello
Or u need to copy the hash password and to put in program to check that ?


Re: Linking UCP to SQL Database - DobbysGamertag - 28.01.2015

http://php.net/manual/en/function.hash.php