as I get it
you have two different taget pages.
- /free/login.php
- login.php
as is the action="free/login.php"
after submit will always goto /free/login.php
there is no way I know of to change this
you could have a test in beginning of free/login.php:
if ($_POST['tickbox'] == 1){
header( 'location: login.php' );
exit;
}
This would redirect to login.php
Now, when a redirect, all POST variable values are lost.
And will have to be re-entered in login.php
I think the whole idea with having a choice with a tickbox in this form
is not the best.
It would be better to make a 3rd page
where user has got two options ( 2 buttons or 2 links )
to goto either of:
- login.php
- /free/login.php
Instead of tickbox user makes his choice here, before going to login.