-
Notifications
You must be signed in to change notification settings - Fork 0
/
sentmsg.php
64 lines (48 loc) · 3.14 KB
/
sentmsg.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
60
61
62
63
64
<?php
session_start();
//Setting value stored in session variable
$sent_msg = $_SESSION['enmsg'];
// //Create Connection
// $conn = mysqli_connect("localhost","root","","message_transfer");
// //Check Connection
// if (!$conn){
// die("Connection Failed: " . mysqli_connect_error());
// }
if(isset($_POST['back'])){
header('location: encryption.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!--Import Custom CSS-->
<link rel="stylesheet" href="/styles/style.css">
<!-- Compiled and minified jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<title>Message Sent</title>
</head>
<body>
<div class="container">
<div class="message">
<h3>You have sent the following message.</h3>
<!--<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Consectetur exercitationem dicta nostrum aspernatur officia molestias numquam dolorum aliquam, iusto tempore hic tenetur mollitia explicabo in voluptates rerum recusandae fugiat. Minima. Lorem, ipsum dolor sit amet consectetur adipisicing elit. Repudiandae rerum doloremque, id nesciunt quibusdam nisi rem officiis, aspernatur nobis, magnam odit corporis iusto nostrum ad temporibus quod quos maiores totam. Lorem ipsum, dolor sit amet consectetur adipisicing elit. Consectetur rerum soluta et itaque quaerat quas hic quidem nostrum molestias animi obcaecati ipsum vel repellat, sint qui quod magnam debitis voluptatem. Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorum dolor ducimus, perferendis expedita fugiat atque reiciendis voluptatum in blanditiis obcaecati enim quidem voluptas aut similique, aperiam ipsam quas odio. Harum. Lorem ipsum dolor sit amet consectetur adipisicing elit. Iusto odio illo a vel ullam, sit impedit, corrupti non itaque asperiores ducimus optio. Repellat nostrum numquam ut expedita doloribus aut debitis. Lorem ipsum dolor sit amet consectetur adipisicing elit. At expedita odit, rerum sapiente, perspiciatis ex ullam id ea, quisquam consequuntur corporis accusamus maiores eligendi eum quos provident nesciunt totam quidem!</p>-->
<!-- Display the message using sessiion variable value -->
<p><?php echo $sent_msg; ?></p>
</div>
<form method="POST">
<div class="back">
<button class="btn-large waves-effect waves-light" type="submit" name="back">Back to Dashboard</button>
<!-- <a class="waves-effect waves-light btn-large">Back to Dashboard</a> -->
</div>
</form>
</div>
</body>
</html>