-
Notifications
You must be signed in to change notification settings - Fork 0
/
signUp.php
44 lines (33 loc) · 868 Bytes
/
signUp.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
35
36
37
38
39
40
41
42
43
44
<?php
/**********************************************************
* File: signUp.php
* Author: James Richter, Br. Burton
*
* Description: Allows a user to enter a new username
* and password to add to the DB.
*
* It actually posts to a file called "createAccount.php"
* which does the actual creation.
*
***********************************************************/
?>
<!DOCTYPE html>
<html>
<head>
<title>Sign Up</title>
</head>
<body>
<div>
<h1>Sign up for new account</h1>
<form id="mainForm" action="createAccount.php" method="POST">
<input type="text" id="txtUser" name="txtUser"></input>
<label for="txtUser">Username</label>
<br /><br />
<input type="password" id="txtPassword" name="txtPassword"></input>
<label for="txtPassword">Password</label>
<br /><br />
<input type="submit" value="Create Account" />
</form>
</div>
</body>
</html>