home *** CD-ROM | disk | FTP | other *** search
/ Neil's C++ Stuff / 2014-11-mediatemple-neilstuff.zip / neilo / index.php < prev    next >
PHP Script  |  2014-11-20  |  1KB  |  46 lines

  1. <?php header('Content-Type: text/html; charset=utf-8');
  2. require('common.php');
  3. ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  4. <html xmlns="http://www.w3.org/1999/xhtml">
  5. <head>
  6. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  7. <title>Neil C. Obremski</title>
  8. <meta name="author" content="Neil C. Obremski" />
  9. <meta name="description" content="Online profile portal and contact information for Neil C. Obremski" />
  10. <meta name="verify-v1" content="RPZNjElYOC4r4XaO37MEphUdvBd9KzC3oWxyety56G4=" >
  11. <script src="md5-min.js" type="text/javascript"></script>
  12. <style>
  13. body {
  14.     font-family: Sans Serif;
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <h1 style="float:left; margin:1em; ">Neil C. Obremski</h1>
  20.  
  21. <p style="clear:both;"><input type="text" id="input" size="40" />
  22. <input type="button" onclick="document.getElementById('hash').value = hex_md5(document.getElementById('input').value)" value="> MD5 >" />
  23. <input type="text" id="hash" size="40" /></p>
  24.  
  25. <h2>Server</h2>
  26. <pre><?php
  27.  
  28. foreach ($_SERVER as $nm => $vl) {
  29.     echo("$nm: " . @htmlentities($vl) . "\n");
  30. }
  31.  
  32. ?></pre>
  33.  
  34. <h2>Request Headers</h2>
  35. <pre><?php
  36.  
  37. foreach (apache_request_headers() as $nm => $vl) {
  38.     echo("$nm: " . @htmlentities($vl) . "\n");
  39. }
  40.  
  41. ?></pre>
  42.  
  43.  
  44. </body>
  45. </html>
  46.