[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 01/01: Improve debug info
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 01/01: Improve debug info |
Date: |
Wed, 7 Nov 2018 06:01:08 -0500 (EST) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 608c564fbe9714f79ef768084adfed48cf434fcc
Author: Dany De Bontridder <address@hidden>
Date: Mon Oct 15 21:49:54 2018 +0200
Improve debug info
---
html/do.php | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/html/do.php b/html/do.php
index 73669e6..0278416 100644
--- a/html/do.php
+++ b/html/do.php
@@ -1,5 +1,4 @@
<?php
-
/*
* This file is part of NOALYSS.
*
@@ -112,26 +111,37 @@ if ( DEBUG ) {
?>
<div id="debug_div" style="border:slategray solid 1px;margin-left:
0px;position:absolute;background:white;display:fixed;top:2px;left:25px;z-index:1000;display:none">
<h2>$_POST</h2>
+ <pre>
<?php
- var_dump($_POST);
+ print_r($_POST);
?>
+
+ </pre>
<h2>$_GET</h2>
+ <pre>
<?php
- var_dump($_GET);
+ print_r($_GET);
?>
+ </pre>
<h2>$_REQUEST</h2>
+ <pre>
<?php
- var_dump($_REQUEST);
+ print_r($_REQUEST);
?>
+ </pre>
<h2>$_SESSION</h2>
+ <pre>
<?php
- var_dump($_SESSION);
+ print_r($_SESSION);
?>
+ </pre>
<h2>$GLOBALS</h2>
+ <pre>
<?php
- var_dump($GLOBALS);
+ print_r($GLOBALS);
?>
+ </pre>
</div>
<script>