Jump to content

MySQL/PHP user and password validation


p.ross

Recommended Posts

I have a MySQL db called "userinfo" which contains usernames and two password fields, one for them to log in to their MySQL account and another will be returned after they log in. In the login page I am using, I want it to pull the username and password, send it to a script which will login to MySQL and return the other password, and I want to replace the old password with the new password in the INPUT box. The only examples I've found online that are even close to this require that I open a php file, but I don't see why I can't include the very same code in my login page.

 

Any help?

Link to comment
https://forums.phpfreaks.com/topic/2917-mysqlphp-user-and-password-validation/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.