Hi,
I am having a bit of troubles on a login. I have to login forms which are processed by the same php file. But on the block login a hidden input says public, and on one login in a contentarea a hidden input says internal. So what I want to do is send users login in in a content area to the internal area, and the ones using the block to login back to the site they were browsing. I put a if else conditional statement to manage that, when the hidden input is public now, you are taken to the internal area by a refresh. But now the real problem, what do I put in the if conditional statement if the hidden input is public, how do i find out what site the user came from to send back to?
I hope you got what I mean
Best Regards
max