Hii I m using PHP-MySQL to make a class assignment. In this i have made a login control. It was working very fine. But i made an attempt to provide the password changing facility. Since then my project is not logging in. It shows in table the new password but neither with new password nor with od password it logs me on..
Please help me in this..
sumit007 0 Newbie Poster
Recommended Answers
Jump to PostProvide the code for the login and change password methods.
You probably didn't handle the new password correctly in either your PHP or your SQL (or both). As a result, you didn't store the properly-encrypted version of it in your d-base. I suspect you'll find a hashing error in …
Jump to PostI agree, it seems the OP is referencing the wrong row when you perform your update.
@OP:
Also, I see some serious security flaws:
1. You aren't guarding against SQL Injection attacks. Search the term for solutions, there are several threads on it.2. It is not advisable …
All 5 Replies
as.bhanuprakash 2 Junior Poster
Fbody 682 Posting Maven Featured Poster
sumit007 0 Newbie Poster
as.bhanuprakash 2 Junior Poster
Fbody 682 Posting Maven Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.