| Server IP : 217.160.0.64 / Your IP : 216.73.217.111 Web Server : Apache System : Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux User : ws67269618 ( 67269618) PHP Version : 8.4.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /kunden/proc/self/root/kunden/proc/self/cwd/wp-content/plugins/ait-sysinfo/ |
Upload File : |
<?php
class AitPhpInfoReporter
{
public static function report()
{
$reporter = new self;
?>
<div id="ait-php-info-report">
<?php echo $reporter->getReport(); ?>
</div>
<?php
}
public function getReport()
{
$report = '';
ob_start();
phpinfo();
$report = ob_get_clean();
$report = str_replace(array('</html>', '</body>'), '', $report);
$report = substr($report, strpos($report, "<body>"), strlen($report));
$report = str_replace('<body>', '', $report);
$credits = strpos($report, "<h1>PHP Credits</h1>");
if($credits !== false){
$report = substr($report, 0, $credits);
$report .= '</div> <!-- /.center -->';
}
return $report;
}
}