Need suggestion regarding accounts in a website and using php andmysql | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Need suggestion regarding accounts in a website and using php andmysql

I have a dashboard, register page, and login page. Please suggest how to make unique and secure accounts for users.

13th Mar 2020, 6:03 PM
Learner
6 Answers
+ 3
1. Create a mysql database and a 'members' table in it 2. Get the contents of the form and ignore whitespace. 3. Validate the inputs. 4. Hash the passwords and escape special characters from input values. 5. Save the values into a record in the database.
13th Mar 2020, 6:56 PM
Ore
Ore - avatar
+ 3
Thanks. I have performed all the action but after authentication I am directing them to dashboard page and I want unique address for all the users. How to get this?
13th Mar 2020, 6:59 PM
Learner
13th Mar 2020, 7:46 PM
Ore
Ore - avatar
+ 2
Thank you, will ask again if get stuck.
14th Mar 2020, 5:01 AM
Learner
+ 1
Sure. You are welcome.
14th Mar 2020, 9:27 AM
Ore
Ore - avatar
+ 1
Hi, I used session but still not getting unique address. Am I missing something on this?
17th Mar 2020, 4:52 PM
Learner