-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
63 lines (57 loc) · 2.81 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
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Simple PHP App</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="public/assets/css/bootstrap.min.css" rel="stylesheet">
<style>body {margin-top: 40px; background-color: #ccc;}</style>
<link href="public/assets/css/bootstrap-responsive.min.css" rel="stylesheet">
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
</head>
<style>
body {
font-family: 'Roboto Condensed', sans-serif;
font-size: 48px;
}
</style>
<body>
<div class="container">
<div class="hero-unit">
<h1><img src="https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/6000441619/logo/k68pEIS95R2nxQjoEu3NlXZmeizE70Y10Q.png"> Sample PHP App</h1>
<hr>
<h2>Congratulations!</h2>
<p>Your PHP application is now running on the host “<?php echo gethostname(); ?>” in your own dedicated environment in the AWS Cloud.</p>
<p>This host is running PHP version <?php echo phpversion(); ?>.</p>
<?php
session_start();
if(!isset($_SESSION['visit']))
{
echo "This is the first time you're visiting this server</br>";
$_SESSION['visit'] = 0;
}
else
echo "Your number of visits: ".$_SESSION['visit'] . "</br>";
$_SESSION['visit']++;
echo "Server IP: ".$_SERVER['SERVER_ADDR'] . "</br>";
echo "Client IP: ".$_SERVER['HTTP_X_FORWARDED_FOR'] . "</br>";
echo "Cookies: </br>";
print_r($_COOKIE);
?>
<hr>
<p>Hier gehts zum <a href="https://root360.atlassian.net/wiki/spaces/KBDE/pages/66153456/Schnelleinstieg" target="_blank">root360 Quickstart</a></p>
<p>See <a href="https://root360.atlassian.net/wiki/spaces/KB/pages/66154327/Quickstart" target="_blank">root360 Quickstart</a></p>
<hr>
<script type="text/javascript" src="http://assets.freshdesk.com/widget/freshwidget.js"></script>
<style type="text/css" media="screen, projection">
@import url(http://assets.freshdesk.com/widget/freshwidget.css);
</style>
<iframe title="Feedback Form" class="freshwidget-embedded-form" id="freshwidget-embedded-form" src="https://root360.freshdesk.com/widgets/feedback_widget/new?&widgetType=embedded&screenshot=no&searchArea=no" scrolling="no" height="900px" width="100%" frameborder="0" >
</iframe>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="public/assets/js/bootstrap.min.js"></script>
</body>
</html>