Subversion Repositories personal-webbase

Rev

Rev 4 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 daniel-mar 1
<?php
2
 
14 daniel-mar 3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
2 daniel-mar 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
 
3 daniel-mar 11
<input type="hidden" name="fragment" value="'.my_htmlentities($i).'">
2 daniel-mar 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
 
3 daniel-mar 32
?>