hello! I'm new to the forum. I really need help from all of you.
I have a form in an html page "index.html" like below:
<form action="login.php" method="post">...
How can I prevent users from viewing the login.php in the action attribute of the form tag above by just typing its url directly? I've tried using htaccess to deny access but i cannot submit the form. And what is the best way to seperate "html page containing form for submission" from "php file to process form's data"? Thanks in advance.