Here my tree looks like
/application /lib /util /login /views /base_view
My login page
localhost:737/astuto-lena/branches/application/views/base_view/index.php
And I want my form to be like this
localhost:737/astuto-lena/branches/application/util/login/main.php
Here is my form ad
<form class="form_login" action="./util/login/main.php" method="POST"> ... </form>
But when I click the submit button, it takes me away
localhost:737/astuto-lena/branches/application/views/base_view/util/login/main.php
This is the wrong way and generates a 404 error.
So what happened to the way I use relative paths in a form declaration and how can I fix this?
source share