root/trunk/gui/include/debug.php

Revision 1327, 1.9 kB (checked in by rats, 4 months ago)

* Fixed: --scan-knownbad-files and --check-deleted are no longer supported by rkhunter
* Fixed #1471: chkrootkit should be in lenny / hardy
* Updated Chinese (simplified)
* Updated German
* Fixed #1475: typo on installation (ispcp-setup)
* Fixed: default user for rkhunter.log

Line 
1 <?php
2 /**
3  * ispCP ω (OMEGA) a Virtual Hosting Control System
4  *
5  * @copyright     2001-2006 by moleSoftware GmbH
6  * @copyright     2006-2008 by ispCP | http://isp-control.net
7  * @version     SVN: $Id$
8  * @link         http://isp-control.net
9  * @author         ispCP Team
10  *
11  * @license
12  *   This program is free software; you can redistribute it and/or modify it under
13  *   the terms of the MPL General Public License as published by the Free Software
14  *   Foundation; either version 1.1 of the License, or (at your option) any later
15  *   version.
16  *   You should have received a copy of the MPL Mozilla Public License along with
17  *   this program; if not, write to the Open Source Initiative (OSI)
18  *   http://opensource.org | osi@opensource.org
19  */
20
21 function dump_gui_debug() {
22     echo '<font color="#0000FF"><u>Content of <b>$_SESSION</b>:</u><br /></font>';
23     echo '<pre>';
24     echo htmlentities(print_r($_SESSION, true));
25     echo '</pre>';
26     echo '<font color="#0000FF"><u>Content of <b>$_POST</b>:</u><br /></font>';
27     echo '<pre>';
28     echo htmlentities(print_r($_POST,    true));
29     echo '</pre>';
30     echo '<font color="#0000FF"><u>Content of <b>$_GET</b>:</u><br /></font>';
31     echo '<pre>';
32     echo htmlentities(print_r($_GET,     true));
33     echo '</pre>';
34     echo '<font color="#0000FF"><u>Content of <b>$_COOKIE</b>:</u><br /></font>';
35     echo '<pre>';
36     echo htmlentities(print_r($_COOKIEtrue));
37     echo '</pre>';
38     echo '<font color="#0000FF"><u>Content of <b>$_FILES</b>:</u><br /></font>';
39     echo '<pre>';
40     echo htmlentities(print_r($_FILES,   true));
41     echo '</pre>';
42     return;
43     echo '<font color="#0000FF"><u>Content of <b>$GLOBALS</b>:</u><br /></font>';
44     echo '<pre>';
45     echo htmlentities(print_r($GLOBALStrue));
46     echo '</pre>';
47     echo '<font color="#0000FF"><u>Content of <b>$_SERVER</b>:</u><br /></font>';
48     echo '<pre>';
49     echo htmlentities(print_r($_SERVERtrue));
50     echo '</pre>';
51 }
52
53 ?>
Note: See TracBrowser for help on using the browser.