PHP open in new window login system :O fast reply please

  • puKKa
  • Proficient
  • Proficient
  • User avatar
  • Posts: 274
  • Loc: Sweden

Post 3+ Months Ago

ok, so I got my page: http://keso.shacknet.nu/leekis
Now, there is a small problem, On the Admin page, where you can login I want it to open a new page when I press the "Logga In" button so that you dont get pushed away from the site as you try to login.

Does anyone know how to make this work?
here is the code for the phppage with the login system:

Would like to get fast answears since I need to finished with the site tomorrow and It would be nice to be able to show that it works to post a new news without problems.

Code: [ Select ]
<form name="login form" method="post" action="http://keso.shacknet.nu/leekis/index.php?id=login">
<table width="570" border="0">
   <tr>
    <td><div align="right">Admin:</div></td>
    <td><input type="text" name="username"></td>
   </tr>
   <tr>
    <td><div align="right">L&ouml;senord:</div></td>
    <td><input type="password" name="password">
     <input name="submit" type="submit" value="Logga in"></td>
   </tr>
  </table>
</form>
  1. <form name="login form" method="post" action="http://keso.shacknet.nu/leekis/index.php?id=login">
  2. <table width="570" border="0">
  3.    <tr>
  4.     <td><div align="right">Admin:</div></td>
  5.     <td><input type="text" name="username"></td>
  6.    </tr>
  7.    <tr>
  8.     <td><div align="right">L&ouml;senord:</div></td>
  9.     <td><input type="password" name="password">
  10.      <input name="submit" type="submit" value="Logga in"></td>
  11.    </tr>
  12.   </table>
  13. </form>



thanks
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Try

Code: [ Select ]
<form name="login form" method="post" action="http://keso.shacknet.nu/leekis/index.php?id=login" target="_blank">


Not sure if that will work. I've never tried it in a form, but I don't see why not.
  • puKKa
  • Proficient
  • Proficient
  • User avatar
  • Posts: 274
  • Loc: Sweden

Post 3+ Months Ago

worked fine, thanks

How can I setup the size of a window, no scrolls etc?
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Search Ozzu for popup window size or resize, etc. That has been explained multiple times already.

It is nice to know for future reference the target attrib works with form submits though. *smiles

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 102 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.