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