Is it accepted to build a login form where storing password in PHP file?
For example:
Is something like below secure for passwords? assuming that the webserver won't fail and expose the code to browser.
<?php
if ($_POST["password"] == "mypassword") {
//some code
?>
I wanted to know if this particular example is secure, considering the assumption