dump.php 1010 Bytes
<!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 border="1">
	<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>
        <?php if (!is_array($value)) { ?>
		<td><?php echo nl2br(htmlentities(stripslashes($value))) ?></td>
        <?php } else { ?>
            <?php
            echo '<td><ul>';
            foreach($value as $key => $subval) {
                echo "<li>[$key] => " . nl2br(htmlentities(stripslashes($subval))) . '</li>';
            }
            echo '</ul></td>';
            ?>
        <?php } //if ?>
	</tr>
	<?php } ?>
</table>

</body>
</html>