I would like to setp up a login form that will included in certain pages.
I found many tutorials that talk about it but, how can I add the “admin” account for the first time ?!
In phpmyadmin directly? I can do it but, want it to be encoded with the md5 algorithm.
Does anybody know where can I find a ready login system with the session management and all the other stuff?
Thank you very much,
regards.
In PHPMyAdmin insert the Admin user’s password with md5
And in your PHP app, use the native md5() function.
Note that md5() is insecure by now and you want to consider sha1 and salting for increased security. See