-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.php
More file actions
50 lines (46 loc) · 1.75 KB
/
signup.php
File metadata and controls
50 lines (46 loc) · 1.75 KB
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
// session_start();
require_once("./reusables/header.php");
?>
<body>
<div class="wrapper">
<section class="form signup">
<header>Signup</header>
<form action="" enctype="multipart/form-data">
<!--now we can include file in our form -->
<div class="error-txt">...</div>
<div class="name-details">
<div class="field input">
<label for="fname">First Name</label>
<input type="text" name="fname" placeholder="first name" required />
</div>
<div class="field input">
<label for="lname">Last Name</label>
<input type="text" name="lname" placeholder="Last name" required />
</div>
</div>
<div class="field input">
<label for="email">Email</label>
<input type="email" name="email" placeholder="Enter your email" required />
</div>
<div class="field input">
<label for="password">Password</label>
<input type="password" name="password" placeholder="Enter password" required />
<i class="fas fa-eye"></i>
</div>
<div class="field image">
<label for="file">Select Profile</label>
<input type="file" name="image" placeholder="Select profile" require />
</div>
<div class="field button">
<input type="submit" id="submit" name="submit" value="Start Chatting" />
</div>
</form>
<div class="link">Already signed up? <a href="./login.php">Login Now</a></div>
</section>
</div>
<script src="./js/toggle-password-view.js"></script>
<script src="./js/signup.js"></script>
<script>alert("Try creating a guest account and you won't be able to perform crud operation");</script>
</body>
</html>