-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathembeddedhost.php
More file actions
executable file
·47 lines (43 loc) · 1.58 KB
/
embeddedhost.php
File metadata and controls
executable file
·47 lines (43 loc) · 1.58 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
<?php
/**
* @copyright Copyright (C) DocuSign, Inc. All rights reserved.
*
* This source code is intended only as a supplement to DocuSign SDK
* and/or on-line documentation.
* This sample is designed to demonstrate DocuSign features and is not intended
* for production use. Code and policy for a production application must be
* developed to meet the specific data and security requirements of the
* application.
*
* THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
* PARTICULAR PURPOSE.
*/
// start session and some helper functions
include("include/session.php");
if(!isset($_SESSION["EmbeddedToken"])){
$_SESSION["errorMessage"] = "No Embedded Token found";
header("Location: error.php");
die();
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"></meta>
<title>DocuSign, Inc. ESIGN Sample</title>
<link href="css/style.css" rel="stylesheet" type="text/css"></link>
</head>
<body>
<div id="header">
<div class="logo"> </div>
<div class="logorepeat"> </div>
</div>
<div id="content">
<iframe src="<?php echo($_SESSION["EmbeddedToken"]) ?>" scrolling="yes" width="100%" height="800" frameborder="0">
</div>
<div id="footer"> </div>
</div>
</body>
</html>