File: unserialize.php

package info (click to toggle)
phpldapadmin 1.2.6.7-3~bpo12%2B1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-backports
  • size: 5,432 kB
  • sloc: php: 17,675; javascript: 5,299; xml: 1,498; sh: 379; python: 148; makefile: 23
file content (26 lines) | stat: -rw-r--r-- 787 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

require '../lib/common.php';

echo '<head><link type="text/css" rel="stylesheet" href="../htdocs/css/style.css" /></head>';
echo '<body>'."\n";
$index = get_request('index','REQUEST');
if (! isset($_SESSION['backtrace'][$index]))
	die('No backtrace available...?');

$line = $_SESSION['backtrace'][$index];
echo '<table class="result_table">';
printf('<tr class="hightlight"><td colspan="2"><b><small>%s</small></b></td><td>%s (%s)</td></tr>',
	_('File'),isset($line['file']) ? $line['file'] : $last['file'],isset($line['line']) ? $line['line'] : '');

printf('<tr><td>&nbsp;</td><td><b><small>%s</small></b></td>',
	_('Function'),$line['function']);

echo '<td><small><pre>';
print_r($line['args']);
echo '</pre></small></td>';

echo '</tr>';
echo '</table>';
echo '</body>';
?>