Browse Source

Initial commit

master
Adam Backstrom 10 years ago
commit
15eaef804f
  1. 45
      index.php

45
index.php

@ -0,0 +1,45 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<style>
.serialized {
height: 200px;
width: 100%;
}
.cols {
}
.col {
margin-right: 1.8%;
width: 45%;
float: left;
padding: 10px;
}
</style>
</head>
<body>
<?php
require_once 'dBug.php';
?>
<h1>PHP Tools</h1>
<h2>Expand Serialized</h2>
<div class="cols">
<div class="col">
<form method="post">
<textarea class="serialized" name="serialized"><?php echo nl2br(htmlentities($_POST['serialized'])); ?></textarea><br>
<input type="submit">
</form>
</div>
<div class="col"><?php if( isset($_POST['serialized']) ) new dBug(unserialize($_POST['serialized'])); ?></div>
</div>
</body>
</html>
Loading…
Cancel
Save