-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
59 lines (57 loc) · 2.45 KB
/
index.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
51
52
53
54
55
56
57
58
59
<?php
session_start();
if(isset($_SESSION['unique_id'])){
header("Location:../../../ChatApp/page/user.php");
}
?>
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Realtime Chat App</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css">
</head>
<body>
<div class="wrapper">
<section class="form signup">
<header>Realtime Chat App</header>
<form action="#" enctype="multipart/form-data" autocomplete="off">
<div class="error-txt">
<!--This is an error message!-->
</div>
<div class="name-details">
<div class="field input">
<label >First Name</label>
<input type="text" name="firstname" placeholder="First Name"required>
</div>
<div class="field input">
<label >Last Name</label>
<input type="text" name="lastname"placeholder="Last Name"required>
</div>
</div>
<div class="field input">
<label >Email Address</label>
<input type="text" name="email"placeholder="Email Address"required>
</div>
<div class="field input">
<label >Password</label>
<input type="password" name="password" placeholder="Enter new password"required>
<i class="fas fa-eye"></i>
</div>
<div class="field image">
<label >Select Image</label>
<input type="file" name="image" required>
</div>
<div class="field button">
<input type="submit"value="Continue to chat">
</div>
</form>
<div class="link">
Already signed up?<a href="../ChatApp/page/login.php">Login now</a>
</div>
</section>
</div>
<script src="./js/script.js"></script>
</body>
</html>