For security reasons I want to have all my connection files to the DB and login files in a folder out of the root directory. Like this:
Project:
includes:
conncect.php
process_login.php
general_files:
index.php
In my index.php i have the following.
<form action="../includes/process_login.php" method="post" name="login_form">
[...]
</form>
The problem is that when i try to submit that form i get an error that says that:
The requested URL /includes/process_login.php was not found on this server.
Does anyone knows a way to do what i want to do?