[Pawn] mysql_query suggest - Printable Version + open.mp forum (https://forum.open.mp) -- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3) --- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10) --- Thread: [Pawn] mysql_query suggest (/showthread.php?tid=1787) |
mysql_query suggest - Zow - 2021-03-19 How can I?improve this code? PHP Code: Account_PromptLogin(playerid) { PHP Code: forward OnPasswordVerify(playerid, bool:success); RE: mysql_query suggest - Y_Less - 2021-03-21 Use the password hash in the query, don't store it. RE: mysql_query suggest - Zow - 2021-03-22 Why don't you store it? sry just asking Can I reset after logged in? like btw thanks for ur comment PHP Code: forward OnPasswordVerify(playerid, bool:success); RE: mysql_query suggest - Virsenas - 2021-03-22 (2021-03-22, 05:08 PM)Zow Wrote: Why don't you store it? sry just asking Store it into your MySql database, but not on your server. You only need to access or write a players password just when he logs in or registers. And that is just one or a few times a day you need to use the players password. Keeping a players password on your server not only wastes a bit piece of memory but also is there to be used by future or current exploits of the server and that is a potential way how you can risk every players password being leaked. I don't think you want that to happen to your server. RE: mysql_query suggest - Zow - 2021-03-22 Ok got it now I'm asking because I don't know how to do that without inline but now I use it ty for explain |