Subversion Repositories personal-webbase

Rev

Rev 3 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 daniel-mar 1
<?php
2
 
3
if (!defined('IBLEGAL')) die('Kann nicht ohne IronBASE ausgef&uuml;hrt werden.');
4
 
5
// $i = Die gesamte gepufferte Ausgabe
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">
8
 
9
<br><input type="submit" value="HTML-Validit&auml;t pr&uuml;fen" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';">
10
 
11
<input type="hidden" name="fragment" value="'.htmlentities($i).'">
12
 
13
</form>
14
 
15
<b>MySQL-Transkript</b><br><br>
16
 
17
<textarea cols="100" rows="10" wrap="off">'.$sql_transkript.'</textarea><br><br>
18
 
19
<b>Session-Inhalt (Name: '.session_name().', ID: '.session_id().')</b><br><br>
20
 
21
<textarea cols="100" rows="10" wrap="off">';
22
 
23
ob_start();
24
print_r($_SESSION);
25
$debugging .= ob_get_contents();
26
ob_end_clean();
27
 
28
$debugging .= '</textarea></center><hr>';
29
 
30
echo str_replace('</body>', $debugging.'</body>', $i);
31
 
32
?>