Olaf Bohlen
2019-10-29 ade692e7250036da482d1fc1aaf1771c2766d6bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
 <head>
  <title>hello php</title>
 </head>
 <body>
   <?php 
    echo '<p>hello world from ' .$_ENV["HOSTNAME"] . '</p>';
    echo '<p>TEXT = ' .$_ENV["TEXT"] . '</p>';
    echo '<p>PASSWORD = ' .$_ENV["PASSWORD"] . '</p>';
    echo '<p>'
    $filename = '/secretstore/filesecret';
 
    if (file_exists($filename)) {
      echo nl2br(file_get_contents( "/secretstore/filesecret" )); 
    } else {
      echo "no additional secrets found!"
    }
    echo '</p>'
?>
 </body>
</html>