Social Website from scratch - Part 74 - Password hashing in practice | OOP PHP with MYSQL Database

preview_player
Показать описание
in this tutorial, learn how to create your own social website using object oriented PHP. this series will teach you the fundamentals of html, css, mysql database and PHP

link to profile image placeholders

link to entire playlist:

support me on patreon:

link to images:

#PHP #CSS #HTML #MYSQL #DATABASE #WEB_DESIGN #WEB_DEVELOPMENT
Рекомендации по теме
Комментарии
Автор

Hey if you remember i was facing an issue earlier where after signing up credentials were not getting saved in the database.That issue is not resolved yet.In between that same issue was resolved on its own but now its back again.Also AI is enabled on id

ssbright
Автор

great job!! do you have a totorial for a password recovery in php ?

ddmicrolab
Автор

Hi Eathorne. I just wanted to say that your tutorials have been helping me a lot during quarantine and I just wanted to show my gratitude for the work you have put into this amazing tutorial! I just have a small problem and would love if you could assist me with it. After doing the hashing function, whenever I signup a new user, I get to the login page and despite entering the correct email and password, I got an error saying "Wrong email or password". A few people in the comments have already asked this question but there were no solutions. It would mean the world to me and everyone else if you could help us solve this error once and for all!

abrahamphilips
Автор

I'm having the same problem as Sahej Bright - can you show us the solution please? Have you tried to sign up a new user after hashing the password in this lesson?

Lev
Автор

i deleted all of my users as per your suggestion if I want to automatically hash the passwords, so I followed what you said and it didn't hash the password, I tried your advice to somebody else which was to add a code in the login script to tell me the hash and then added it to a new user I created, but it didn't allow me to login.

I went back and tried your original method of overwriting the DB directly with a code and that worked (and I removed that code) but now even if I put the right details in it just refreshes the login page and doesn't go any further. Please help this is stopping me from progressing and I can't work out what is going on.

__-bkmm
Автор

Correctly hashed according to myphpadmin, but proper email and password just makes the page refresh, wipe the input, and not redirect to profile.php :(((

smurglingtaco
Автор

Hello most of my errors are solved.Now when i signup records are saved in db properly but password is saved in plain text even after performing hashing and i get a error saying incorrect email or password when i try to login.

sahejbright
Автор

Whenever i try to post something and click on the post area it redirects me to another profile of another user

ssbright
Автор

hello sir i am not able to login again, i guess i refreshed the page after hashing can you help me what is to be done to recover password and login again and recover the profile???

meetmehta
Автор

I wish i never saw this video now I can't even log in after resetting the password to a non-hashed one.

smurglingtaco
Автор

after the second code i get a blank screen

dreistone
welcome to shbcf.ru