bpops Posted October 2, 2006 Share Posted October 2, 2006 I posted this question over at phpbb.com ( http://www.phpbb.com/phpBB/viewtopic.php?t=448208 ) and haven't had any responses yet. I was hoping maybe someone here had a solution.I'm having a bit of difficult with a redirect variable for logging into my phpbb forum. I have a dynamically generated "LOGIN" link on my site that changes the redirect variable depending on the page. The tricky part is that all my pages are dynamically generated using variables themselves. So a typical example would be:http://www.b-pops.com/wow/spell.php?id=1240Most of the time this isn't a problem, my Login link looks like:http://www.b-pops.com/forums/login.php?redirect=../wow/spell.php?id=1240But if I have a second variable in there, i.e.http://www.b-pops.com/wow/spell.php?id=1240&mode=postthen the "LOGIN" link generated looks like:http://www.b-pops.com/forums/login.php?redirect=../wow/spell.php?id=1240&mode=postwhich also looks how it should. But when I click this one, and login, it redirects tohttp://www.b-pops.com/forums/login.php?redirect=../wow/spell.php?id=1240?mode=post&sid=XXXXXXXXXXXXXXX(Note the character before mode is '?' NOT '&' as it should be). Since my Login link is generated correctly, I don't think this is something I'm doing wrong. Anyone know a solution? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.