Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if($_SESSION['login'] !="OK")
- {
- header(Location:'login.php');
- exit();
- }
- ?>
- <html>
- <body>
- <h1>Create a new user</hr>
- <p>Please enter details for the new user:</p>
- <form action="insert_user.php"method="post">
- <table>
- <tr>
- <td align="right">Username:</td>
- <td><input size="20" type="text" size="20" maxlength="15" name="new_username"></td>
- </tr>
- <tr>
- <td align="right">Password:</td>
- <td><input size="20" type="password" size="20" maxlength="15" name="new_password"></td>
- </tr>
- <tr>
- <td> </td>
- <td colspan="2" align="left"><input type="submit" value="Create user"></td>
- </tr>
- </table>
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement