dump.php 657 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  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. <title>Plupload - Form dump</title>
  6. </head>
  7. <body style="font: 13px Verdana; background: #eee; color: #333">
  8. <h1>Post dump</h1>
  9. <p>Shows the form items posted.</p>
  10. <table>
  11. <tr>
  12. <th>Name</th>
  13. <th>Value</th>
  14. </tr>
  15. <?php $count = 0; foreach ($_POST as $name => $value) { ?>
  16. <tr class="<?php echo $count % 2 == 0 ? 'alt' : ''; ?>">
  17. <td><?php echo htmlentities(stripslashes($name)) ?></td>
  18. <td><?php echo nl2br(htmlentities(stripslashes($value))) ?></td>
  19. </tr>
  20. <?php } ?>
  21. </table>
  22. </body>
  23. </html>