25.01.2017, 16:14
Quote:
Well you declared login attempts as static so there will be only one copy of that variable in stack. That means if one player fails in login attempt the variable value is 3 and would not be reset for another player so if next player logins by failing in one attempt would kick him by saying you failed login attempts 3 times. The solution is to change the declaration of logattempts to new instead of static.Also take consider of char arrays too instead of plain one (eg arrayname[size char]).
|
Quote:
- You lack good explanation. I assume it's because you clearly are unsure of half of the things here.
- No array resetting included. - No salting. I'm not trying to completely criticize what you're doing here. I suggest you to know more first before proceeding. |
some guys do not even know how to use mysql functions and you wanna show them SHA256 ?
this tuto is simple tuto just with using Whirlpool and for newbies
Tutorial Updated