I'm pretty new to phpBB but am using it with a site i'm developing at the moment. I've managed to get logins working from outside of the forum environment but i'm struggling to get the script to redirect back to the page from where the user logged in. It appears to work but once logged in phpBB kicks out a general error stating it was attempted to redirect to a potentially unsafe page.
The code i'm using to redirect is
Code: Select all
<input type="hidden" name="redirect" value=" . curPageName(); . " />
Does anyone have any ideas?