-
Notifications
You must be signed in to change notification settings - Fork 1
/
signup.php
50 lines (32 loc) · 978 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
45
46
47
48
49
50
<?php
ob_start();
session_start();
require_once 'connect.php';
//it will never let you open signup page if session is set
if (!empty($_SESSION['userName'])) {
header("Location: index.php");
exit;
}
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<title>Signup - CManager</title>
</head>
<body>
<small>Free and Unlimited Resources</small>
<div class="body">
<div class="msg">Sign Up</div>
<div class="form-line">
<input type="email" class="form-control" name="email" placeholder="Email Address" required="" value="" autocomplete="off">
<br>
<input type="password" class="form-control" name="pass" minlength="6" placeholder="Password" required="" autocomplete="off">
<br>
<button name="btn-signup">Create</button>
<br>
<a href="login.php">Already have a membership?</a>
</form>
</body>
</html>