I just built a log-in, sign-up functionality from scratch using PHP/MySQL this past week. There’s so much logic built into something that’s seemingly so simple!
– What to do if people sign-up with a non-valid email address or password.
– Checking to see if a new sign-up isn’t using an email address already registered.
– Seeing if a user signing-in has used the right password/email combo.
– Giving them the right notification based on any errors they’ve made.
I haven’t even touched letting people stay logged-in if they leave the browser, or letting people log-out once they’ve logged-in. No wonder the best practice these days is not building everything from scratch.
So I’m turning this into a framework I can use for any web product that requires login/signup functionality.
Leave a Reply