title: How can I make a external phpbb-login without redirecting to another page?
body: <p>It's possible to make an external login with the following code</p>
  
  <pre><code>&lt;form action="./phpBB3/ucp.php?mode=login" method="post"&gt;
   &lt;h3&gt;&lt;a href="./phpBB3/ucp.php?mode=login"&gt;Login&lt;/a&gt;&amp;nbsp; &amp;bull; &amp;nbsp; &lt;a href="./phpBB3/ucp.php?mode=register"&gt;Register&lt;/a&gt;&lt;/h3&gt;
   &lt;fieldset&gt;
      &lt;label for="username"&gt;Username:&lt;/label&gt;&amp;nbsp;
      &lt;input type="text" name="username" id="username" size="10" title="Username" /&gt;
      &lt;label for="password"&gt;Password:&lt;/label&gt;&amp;nbsp;
      &lt;input type="password" name="password" id="password" size="10" title="Password" /&gt;
      &lt;input type="submit" name="login" value="Login" /&gt;
   &lt;/fieldset&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>but this will end you up at the forum index.</p>
  
  <p>If you add</p>
  
  <pre><code>&lt;input type="hidden" name="redirect" value="./somefile.html" /&gt;
  </code></pre>
  
  <p>you can get it to redirect back to the page you started at, but you will still have needlessly gone to another page only to come back and have lost everything you have done on that page.</p>
  
  <p>Does anyone have an idea how to make a system that lets you login without leaving the page? Maybe something with an iframe?</p>