Jump to content


Photo

phpBB: redirect on login problem.


  • Please log in to reply
No replies to this topic

#1 bpops

bpops
  • Members
  • PipPipPip
  • Advanced Member
  • 232 posts

Posted 02 October 2006 - 06:44 PM

I posted this question over at phpbb.com ( http://www.phpbb.com...ic.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.co...ell.php?id=1240

Most of the time this isn't a problem, my Login link looks like:

http://www.b-pops.co...ell.php?id=1240

But if I have a second variable in there, i.e.

http://www.b-pops.co...=1240&mode=post

then the "LOGIN" link generated looks like:

http://www.b-pops.co...=1240&mode=post

which also looks how it should. But when I click this one, and login, it redirects to

http://www.b-pops.co...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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users