So here is the situation : I would like to use "./login/process" instead of <form action="./index.php?act=login&process" method="post">
Login Page Code
- Code: Select all
<a name="login"></a>
<form action="./login/process" method="post">
<td width="50%" align="right">{#username#}:</td>
<td width="50%"><input type="text" name="username" size="40" maxlength="25" /></td>
</tr>
<tr>
Bascially login&process is another php instruction file which processes the login instruction using $_POST['variable']
- Code: Select all
if (isset($_GET['process'])) {
if (checkpassword($_POST['username'], $_POST['password']) {
...
}
}
I am just being redirect to the new page without the session being assigned.
What rewrite engine instruction should I use to pass the variables and also do the rewrite of the url?
Thank You.