I need a guide on how to make a secure login/register system in PHP.
Does anyone knows a good one?
Does anyone knows a good one?
|
PHP
Need a guide to make a secure login/register system |
|
If you prefer to watch videos whilst learning, then this site is pretty good.
http://thenewboston.org/list.php?cat=11 Video numbers 136 to 147 are the logging in/registration tutorials. PHPAcademy also provide videos on how to do so: http://www.youtube.com/watch?v=4oSCuEtxR...urLrTqPRsX If you would like any further help, then you can send me a pm and i will help guide you.
I'm seeing too many NewBoston recommendations.
@OP my recommendation: PHP academy Here's what I do... - Validate captcha - See if he has accepted terms - Check if everything has been submitted - Sanitize everything - Check if username has a valid length i.e. b/w 3 - 20 - Check is password is longer than 6 characters - Check is username doesn't has anything except letters, numbers, underscore and a dash - Check if email is valid - Add more checks depending on website like valid credit card number? - Check if email has been already used - Check if username has been already taken All Good -> Hash password -> Insert into user table -> Check if insert was successful -> Display result -> Redirect |
|
|
| Possibly Related Threads... | |||
| Thread / Author | Replies | Views | Last Post |
| [PHP] by DavidIAJan 24, 2019 12:44 PM | 9 | 355 |
Jan 24, 2019 12:44 PM Last Post: DavidIA |
| [PHP] by alemalakraMay 3, 2017 06:22 AM | 57 | 2,612 |
May 3, 2017 06:22 AM Last Post: Squito |
| [PHP] by chaddiousNov 11, 2016 08:13 AM | 6 | 200 |
Nov 11, 2016 08:13 AM Last Post: chaddious |