-
Notifications
You must be signed in to change notification settings - Fork 0
/
sign.php
40 lines (40 loc) · 1.26 KB
/
sign.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
<!-- sign up form -->
<!DOCTYPE html>
<html lang="en">
<head>
<link href="fotoapp.css" rel="stylesheet">
<nav>
<a href="./index.php">LOG IN/SIGN UP</a>
</nav>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SIGN UP</title>
</head>
<body>
<form action='formS.php' method="POST">
<label for='fname'>First Name:<br></label>
<input type='text' name='fname' id='fname' required>
<br>
<label for='lname'>Last Name:<br></label>
<input type='text' name='lname' id='lname' required>
<br>
<label for='user'>Username:<br></label>
<input type='text' name='user' id='user' required>
<br>
<label for='email'>Email:<br></label>
<input type='email' id="email" name="email" required>
<br>
<label for='pass'>Password:<br></label>
<input type='password' id="pass" name="pass" required>
<br>
<input type="submit" id='submit' name="submit" value="Submit">
</form>
<?php
session_start();
if(isset($_SESSION['errMsg'])) {
echo $_SESSION['errMsg'];
}
?>
</body>
</html>