forked from UweGerdes/frontend-development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.php
23 lines (23 loc) · 867 Bytes
/
test.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Show PHP $_SERVER</title>
<meta name="author" content="Uwe Gerdes, entwicklung@uwegerdes.de">
<meta name="copyright" content="Uwe Gerdes, ELWoMS Systems GmbH">
<link rel="stylesheet" type="text/css" href="/css/layout.css" />
<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" />
</head>
<body class="body">
<div class="main">
<div class="content">
<h1>Show PHP $_SERVER</h1>
<p>DON'T USE THIS IN PRODUCTION ENVIRONMENT</p>
<h4>Open <a href="http://<?php echo $_SERVER['HTTP_HOST']; ?>/test.php/foo/bar.php?v=1">http://<?php echo $_SERVER["HTTP_HOST"]; ?>/test.php/foo/bar.php?v=1</a> for a full list of request elements.</h4>
<pre>
$_SERVER = <?php var_export($_SERVER); ?>
</pre>
</div>
</div>
</body>
</html>