-
Notifications
You must be signed in to change notification settings - Fork 0
/
adduser.php
34 lines (30 loc) · 941 Bytes
/
adduser.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php
session_start();
if(!isset($_SESSION['userID']))
{
include("loginform.php");
exit();
}
$pageTitle = "Add User";
$pageClass = "userPage";
$heroImage = "craterlake.jpg";
include("header.php");
?>
<form method="post" action="adduseraction.php">
<fieldset>
<label for="username">Username:</label>
<input type="text" name="username" id="username">
<label for="email">Email:</label>
<input type="text" name="email" id="email">
<label for="password">Password:</label>
<input type="password" name="password" id="password">
<label for="firstname">First Name:</label>
<input type="text" name="firstname" id="firstname">
<label for="lastname">Last Name:</label>
<input type="text" name="lastname" id="firstname">
<input type="submit" value="Add User">
</fieldset>
</form>
<?php
include("footer.php");
?>