Code: Select all
<div id="infoBox">
<div id="heading1">
<h2>Support</h2>
</div>
<div style="margin-left: 10px; margin-right: 10px;">
<div id="login">
<form method="post" action="http://forums.site.com/ucp.php?mode=login">
<table>
<tr>
<td id="lgnAlgn">Username</td>
<td id="lgnAlgn">Password</td>
</tr>
<tr>
<td id="lgnAlgn"><input class="post" type="text" name="username" size="" /></td>
<td id="lgnAlgn"><input class="post" type="password" name="password" size="" /></td>
<td id="lgnAlgn"><input type="submit" class="btnmain" name="login" value="Login"/></td>
</tr>
<!-- IF S_AUTOLOGIN_ENABLED -->
<tr>
<td id="lgnAlgn"><input type="checkbox" class="radio" name="autologin" /><label>Keep me logged in</label></td>
<td id="lgnAlgn"><a href="../forums.racecore.com/ucp.php?mode=register">Register</a></td>
</tr>
<!-- ENDIF -->
</table>
{S_FORM_TOKEN}
</form>
</div>
Code: Select all
http://forums.site.com/site.com/page.php?sid=2c3b6c0fb6af2252d23245dc55e659e9
The value I'm giving to the redirect hidden field is:Not Found
The requested URL /site.com/page.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Code: Select all
<input type="hidden" name="redirect" value="./../site.com/page.php">
Code: Select all
<input type="hidden" name="redirect" value="http://www.site.com/page.php">
Code: Select all
if ($result['status'] == LOGIN_SUCCESS)
{
$redirect = request_var('redirect', "{$phpbb_root_path}index.$phpEx");
$message = ($l_success) ? $l_success : $user->lang['LOGIN_REDIRECT'];
$l_redirect = ($admin) ? $user->lang['PROCEED_TO_ACP'] : (($redirect === "{$phpbb_root_path}index.$phpEx" || $redirect === "index.$phpEx") ? $user->lang['RETURN_INDEX'] : $user->lang['RETURN_PAGE']);