-
Notifications
You must be signed in to change notification settings - Fork 0
/
sign.php
54 lines (52 loc) · 2.34 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/* Start the PHP session, and issue required script includes for functions, database connection,
fpdf Library. This is necessary to enable .htaccess requirements which should be imposed. */
session_start();
require $_SERVER['DOCUMENT_ROOT']."/scripts/fpdf/fpdf.php";
require $_SERVER['DOCUMENT_ROOT']."/scripts/functions.php";
require $_SERVER['DOCUMENT_ROOT']."/scripts/connect.php";
// check if user is logged in, and not banned.
logincheck();
bancheck();
$ip = getIP();
?>
<!DOCTYPE html>
<head>
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="Mon, 22 Jul 2002 11:12:01 GMT" />
<meta name="robots" content="noindex" />
<meta name="robots" content="nofollow" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<script src="/js/min.js"></script>
<link rel="stylesheet" href="/css/navbar.css">
<title>PDF Application</title>
<meta name="Description" content="" />
<meta name="Keywords" content="" />
</head>
<body>
<nav class="nav">
<ul>
<li><a href="/home.php">Home</a></li>
<li><a href="/sign.php">Sign</a></li>
<li><a href="/database-view.php">View Docs</a></li>
<li><a href="/logout.php">Logout</a></li>
</ul>
</nav>
<br>
<center>
<img src="/img/adobe.png" />
<h1>PDF Application</h1>
</center>
<center>
<iframe src="/inc/ipsum.txt" width="80%" height="300" style="border:1px solid black;"> </iframe>
</center>
<p><b>I understand and agree that by clicking "Sign" I am placing my electronic signature on the above document. I further understand that, pursuant to the Electronic Signatures in Global and National Commerce Act, U.S. federal law provides that an electronic signature is just as binding as through I signed this document in ink. I undersstand that I may not sign on behalf of any other person without legal privilege to do so, and that signing another person's electronic signature constitutes forgery, which is a felony. I further agree that today's date and my Internet Protocol (IP) Address will be automatically prepended to the signtature line.</b></p><br>
<form action="/pdfexample.php" method="post">
<label for="sig">Signature: </label>
<input type="text" name="sig" placeholder="First, MI, Last Name" id="sig" required />
<input type="submit" value="sign" />
<br> <br>
</form>
</body>
</html>