dump.php 938 B

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
  3. <head>
  4. <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
  5. <link rel="stylesheet" href="css/plupload.css" type="text/css" media="screen" />
  6. <title>Plupload - Form dump</title>
  7. <style type="text/css">
  8. body {
  9. font-family:Verdana, Geneva, sans-serif;
  10. font-size:13px;
  11. color:#333;
  12. background:url(bg.jpg);
  13. }
  14. </style>
  15. </head>
  16. <body>
  17. <h1>Post dump</h1>
  18. <p>Shows the form items posted.</p>
  19. <table>
  20. <tr>
  21. <th>Name</th>
  22. <th>Value</th>
  23. </tr>
  24. <?php $count = 0; foreach ($_POST as $name => $value) { ?>
  25. <tr class="<?php echo $count % 2 == 0 ? 'alt' : ''; ?>">
  26. <td><?php echo $name ?></td>
  27. <td><?php echo nl2br(htmlentities(stripslashes($value))) ?></td>
  28. </tr>
  29. <?php } ?>
  30. </table>
  31. </body>
  32. </html>