2014-11-14, 02:50 AM
I have googled this problem all over and found tons of results but none seem to have worked. My problem is, that after I log in, it just takes me to index. However, when I log out, it returns me to the page I was previously at. This is how I want my log in to work but I can not seem to get it to do that.
Here is my welcome guest code
I have
"<input type="hidden" name="url" value="{$redirect_url}" />"
so, in theory, shouldn't it work?
Here is my welcome guest code
> <a href="http://localhost/lb/member.php?action=register">Not a member? SIGN UP!</a><br />
> <a href="http://localhost/lb/member.php?action=lostpw">Forgot Pass?</a><br />
<form action="member.php" method="post" style="padding-top: 4px;">
USERNAME:<br />
<input type="text" value="" maxlength="22" size="22" name="username" />
PASSWORD:<br />
<input type="password" value="" size="22" name="password" />
<span class="remember_me"><input checked="checked" class="checkbox" value="yes" id="quick_login_remember" name="quick_remember" type="checkbox"><label for="quick_login_remember">REMEMBER ME</label></span>
<input type="submit" name="submit" value="{$lang->login}" />
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$redirect_url}" />
</form>
I have
"<input type="hidden" name="url" value="{$redirect_url}" />"
so, in theory, shouldn't it work?