Answer the question
In order to leave comments, you need to log in
How to encrypt password in md5 in fat-free framework and send using post method?
Hello, I'm making a website following this example: valex.net.ru/fatfree-mvc.html
Only I have my own users there and completely different fields.
On that basis, I make an admin panel with the ability to edit users.
But I don’t know how to transfer the encrypted password in md5 to the table, since it transmits in text.
There is an option to make it in js so that it encodes the line in md5 and transmits it as a post already in finished form.
but I think that this can be done somehow more reasonably without using js, but I don’t know how, I didn’t find anything detailed about registration, only about authorization.
Answer the question
In order to leave comments, you need to log in
Maybe I don't understand something, but why can't you use md5($password) before adding it to the database?
php.net/manual/en/function.md5.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question