blob: 6c1d9b2441d79f2f3560db328f3fd01e8d2eb74f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
session_start();
if (isset($_POST['session'])) {
$_SESSION = json_decode($_POST['session']);
}
$s_json = json_encode($_SESSION);
?>
<html>
<head>
<title>session_doctor.php</title>
<style type="text/css">* { font-family: monospace; }</style>
</head>
<body>
<h1>session_doctor</h1>
<form action="session_doctor.php" method="post">
<textarea name="session" style="width: 80em; height: 24em;"><?=$s_json?></textarea>
<input type="submit" />
</post>
</body>
</html>
|