aboutsummaryrefslogtreecommitdiff
path: root/session_doctor.php
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:33:36 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-04-26 16:33:36 +0200
commit82d40e32363c4e96996eca7ee44ade879589aa0e (patch)
tree44c819d2472697de1e8eb404148f4a087109b27e /session_doctor.php
parent11c7214cb58be4100422b8f905bc629a8906e6ff (diff)
downloadratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.gz
ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.tar.bz2
ratatoeskr-cms-82d40e32363c4e96996eca7ee44ade879589aa0e.zip
Expand tabs and remove trailing whitespace
Diffstat (limited to 'session_doctor.php')
-rw-r--r--session_doctor.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/session_doctor.php b/session_doctor.php
index 25ac7aa..bde431c 100644
--- a/session_doctor.php
+++ b/session_doctor.php
@@ -1,19 +1,19 @@
<?php
session_start();
if(isset($_POST['session']))
- $_SESSION = json_decode($_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>
+ <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>
+ <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>