2010-08-02, 03:48 PM
Dear reader,
I'm trying to make the users of my forum login with their username and password on an external page.
Now, I searched around and found this piece of code:
Problem is that it redirects to my forum, this shouldn't happen. It should redirect to another page.
How can I make this happen?
Kind Regards,
- Nandricka
Nobody?
Nobody?
I'm trying to make the users of my forum login with their username and password on an external page.
Now, I searched around and found this piece of code:
<?php
define("IN_MYBB", 1);
require("forum/global.php");
?>
<form action='forum/member.php' method='post'>
<input type='hidden' name='action' value='do_login' />
<input type='hidden' name='url' value='index.php' />
Username: <input type='text' name='username' maxlength='30' /><br />
Password: <input type='password' name='password' /><br />
<input type='submit' name='submit' value='Log in' />
</form>
Problem is that it redirects to my forum, this shouldn't happen. It should redirect to another page.
How can I make this happen?
Kind Regards,
- Nandricka
Nobody?
Nobody?