MyBB Community Forums

Full Version: Passing login url?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

I'm trying to write a PHP script that uses mybb's login system. I know that there is a hidden input called "url" in the login form that tells mybb where to redirect the visitor after the login is successful.

I basically want to know how to pass my own url into that parameter.

Any ideas? Doing member.php?do=login&url=[urlencoded url] doesn't seem to work.

~ Wogan
I've achieved a workaround, so don't mind this question.
Reference URL's