| 12345678910111213141516171819202122232425262728293031323334 |
- <?php
- #!! IMPORTANT:
- #!! this file is just an example, it doesn't incorporate any security checks and
- #!! is not recommended to be used in production environment as it is. Be sure to
- #!! revise it and customize to your needs.
- die("Make sure that you enable some form of authentication before removing this line.");
- ?>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
- <title>Plupload - Form dump</title>
- </head>
- <body style="font: 13px Verdana; background: #eee; color: #333">
-
- <h1>Post dump</h1>
- <p>Shows the form items posted.</p>
- <table>
- <tr>
- <th>Name</th>
- <th>Value</th>
- </tr>
- <?php $count = 0; foreach ($_POST as $name => $value) { ?>
- <tr class="<?php echo $count % 2 == 0 ? 'alt' : ''; ?>">
- <td><?php echo htmlentities(stripslashes($name)) ?></td>
- <td><?php echo nl2br(htmlentities(stripslashes($value))) ?></td>
- </tr>
- <?php } ?>
- </table>
- </body>
- </html>
|