Solved: 11 Years, 1 Month ago External Login Page
#1
Solved: 11 Years, 1 Month ago Question 
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:
<?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? Huh


Messages In This Thread
External Login Page - by Nandricka - 2010-08-02, 03:48 PM
RE: External Login Page - by zing - 2011-02-03, 06:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)