Olaf Bohlen
2019-10-29 6a11c46c578359f1c77f7caade30354cddb81330
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>';
c69b0c 10     echo '<p>';
cfad3f 11     if (file_exists('/secretstore/filesecret')) {
6a11c4 12       echo "secret file contains: "
ade692 13       echo nl2br(file_get_contents( "/secretstore/filesecret" )); 
OB 14     } else {
c69b0c 15       echo "no additional secrets found!";
ade692 16     }
c69b0c 17     echo '</p>';
27b6ee 18 ?>
OB 19  </body>
20 </html>
21