diff options
Diffstat (limited to 'sites/all/libraries/plupload/examples/dump.php')
-rw-r--r-- | sites/all/libraries/plupload/examples/dump.php | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/sites/all/libraries/plupload/examples/dump.php b/sites/all/libraries/plupload/examples/dump.php new file mode 100644 index 000000000..3ce4471f7 --- /dev/null +++ b/sites/all/libraries/plupload/examples/dump.php @@ -0,0 +1,27 @@ +<!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> |