Rev 4 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4 | Rev 14 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | 2 | ||
3 | if (!defined('IBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
3 | if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgeführt werden.'); |
4 | 4 | ||
5 | // $i = Die gesamte gepufferte Ausgabe |
5 | // $i = Die gesamte gepufferte Ausgabe |
6 | 6 | ||
7 | $debugging = '<hr><center><font color="#FF0000" size="+1"><b>Debug-Modus</b></font><br><form method="post" enctype="multipart/form-data" action="http://validator.w3.org/check" target="_blank"> |
7 | $debugging = '<hr><center><font color="#FF0000" size="+1"><b>Debug-Modus</b></font><br><form method="post" enctype="multipart/form-data" action="http://validator.w3.org/check" target="_blank"> |
8 | 8 | ||
9 | <br><input type="submit" value="HTML-Validität prüfen" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';"> |
9 | <br><input type="submit" value="HTML-Validität prüfen" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';"> |
10 | 10 | ||
11 | <input type="hidden" name="fragment" value="'.my_htmlentities($i).'"> |
11 | <input type="hidden" name="fragment" value="'.my_htmlentities($i).'"> |
12 | 12 | ||
13 | </form> |
13 | </form> |
14 | 14 | ||
15 | <b>MySQL-Transkript</b><br><br> |
15 | <b>MySQL-Transkript</b><br><br> |
16 | 16 | ||
17 | <textarea cols="100" rows="10" wrap="off">'.$sql_transkript.'</textarea><br><br> |
17 | <textarea cols="100" rows="10" wrap="off">'.$sql_transkript.'</textarea><br><br> |
18 | 18 | ||
19 | <b>Session-Inhalt (Name: '.session_name().', ID: '.session_id().')</b><br><br> |
19 | <b>Session-Inhalt (Name: '.session_name().', ID: '.session_id().')</b><br><br> |
20 | 20 | ||
21 | <textarea cols="100" rows="10" wrap="off">'; |
21 | <textarea cols="100" rows="10" wrap="off">'; |
22 | 22 | ||
23 | ob_start(); |
23 | ob_start(); |
24 | print_r($_SESSION); |
24 | print_r($_SESSION); |
25 | $debugging .= ob_get_contents(); |
25 | $debugging .= ob_get_contents(); |
26 | ob_end_clean(); |
26 | ob_end_clean(); |
27 | 27 | ||
28 | $debugging .= '</textarea></center><hr>'; |
28 | $debugging .= '</textarea></center><hr>'; |
29 | 29 | ||
30 | echo str_replace('</body>', $debugging.'</body>', $i); |
30 | echo str_replace('</body>', $debugging.'</body>', $i); |
31 | 31 | ||
32 | ?> |
32 | ?> |
33 | 33 |