b1gMail/servertest/de/servertest.php

194 lines
24 KiB
PHP
Raw Normal View History

2022-02-06 13:27:29 +00:00
<?php
/*
* b1gMail7 server test
* (c) 2002-2018 B1G Software
*
*/
error_reporting(0);
// returns numeric PHP version
function PHPNumVersion()
{
$ver = phpversion();
if(strlen($ver) > strlen('0.0.0'))
$ver = substr($ver, 0, strlen('0.0.0'));
return((int)str_replace('.', '', $ver));
}
// embedded files (stylesheet / images)
$embeddedFiles = array(
'style.css' => array(
'type' => 'text/css',
'data' => 'PCEtLQoKQk9EWQp7CgliYWNrZ3JvdW5kLWNvbG9yOiAjNjY2NjY2OwoJbWFyZ2luOiAwcHg7Cn0KCiNoZWFkZXIKewoJd2lkdGg6IDY0N3B4OwoJaGVpZ2h0OiA5MXB4OwoJYmFja2dyb3VuZC1pbWFnZTogdXJsKHNlcnZlcnRlc3QucGhwP2ZpbGU9aGVhZC5wbmcpOwp9CgojZ3JhZGllbnQKewoJd2lkdGg6IDY0N3B4OwoJaGVpZ2h0OiAyOHB4OwoJYmFja2dyb3VuZC1pbWFnZTogdXJsKHNlcnZlcnRlc3QucGhwP2ZpbGU9Z3JhZGllbnQucG5nKTsKCWJhY2tncm91bmQtcG9zaXRpb246IHJpZ2h0OwoJYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdDsKCWNvbG9yOiAjRkZGRkZGOwoJZm9udC1zaXplOiAyMnB4OwoJZm9udC1mYW1pbHk6IGFyaWFsOwoJZm9udC13ZWlnaHQ6IGJvbGQ7Cgl0ZXh0LWFsaWduOiByaWdodDsKfQoKI2xlZnRzaGFkZQp7Cgl3aWR0aDogMjlweDsKCWJhY2tncm91bmQtaW1hZ2U6IHVybChzZXJ2ZXJ0ZXN0LnBocD9maWxlPXNoYWRlX2xlZnQucG5nKTsJCn0KCiNyaWdodHNoYWRlCnsKCXdpZHRoOiAyOXB4OwoJYmFja2dyb3VuZC1pbWFnZTogdXJsKHNlcnZlcnRlc3QucGhwP2ZpbGU9c2hhZGVfcm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nPyhIAMCLkv/Ml4JC8pg792W0pwlutYhf4pU8OwCwavV5D9NNlYX3ZXTjQnJTlzoEALxo9Q/5JenhYe2dW2X2FMtnO5MP1CEA4AMyHe5Gp7ycIUpYdQguRdUBAD7gwspEbCdDVKdMhgNVBwD4f7zeL+9niAsvAgD4db7+9QUAAL+SDAEA7JAhAIAdMgQAsEOGAAB2yBAAwA4ZAgDYIUMAADv+AigV0hEqLvqgAAAAAElFTkSuQmCC'
),
'shade_left.png' => array(
'type' => 'image/png',
'data' => 'iVBORw0KGgoAAAANSUhEUgAAAB0AAAACCAIAAAArcUAWAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAGHRFWHRDcmVhdGlvbiBUaW1lADI3LjA2LjIwMDeQvzzuAAAAH3RFWHRTb2Z0d2FyZQBNYWNyb21lZGlhIEZpcmV3b3JrcyA4tWjSeAAAACJJREFUCJljTEtLY4CB////////H85GFkFjYBVHJpkYaAMAW9QxBmuj9kEAAAAASUVORK5CYII='
),
'shade_right.png' => array(
'type' => 'image/png',
'data' => 'iVBORw0KGgoAAAANSUhEUgAAAB0AAAACCAIAAAArcUAWAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAGHRFWHRDcmVhdGlvbiBUaW1lADI3LjA2LjIwMDeQvzzuAAAAH3RFWHRTb2Z0d2FyZQBNYWNyb21lZGlhIEZpcmV3b3JrcyA4tWjSeAAAAClJREFUCJljDAsLY2RkZGBgYGBgYGRkhLDhJBwgc5EVoClmgAEmBtoAAMqPATaK0yPBAAAAAElFTkSuQmCC'
),
'gradient.png' => array(
'type' => 'image/png',
'data' => 'iVBORw0KGgoAAAANSUhEUgAAAkQAAAAcCAIAAAAPwDe+AAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAsSAAALEgHS3X78AAAAGHRFWHRDcmVhdGlvbiBUaW1lADI3LjA2LjIwMDeQvzzuAAAAH3RFWHRTb2Z0d2FyZQBNYWNyb21lZG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Rh4cO41bngi+2iBRETDKxcCWLLRo7L+OJplG7RE8oRiVoPb+Gr6e/hZLW0NvVC8/xcOTiEUx2TgrNinhFKhERvjMpY37M3UQk1lsVEodiLOem118iTRbJPWxjMDcI7ZqGS39ewsDugVqyAiyJfdtaAHPfFDmvb3hHGNK+EkWVJqAFUR4tPwVQwnZ7GN4cxnhsDDTs+WCfZEJC9iLnMB84B00/c0/Ktf4qV0kwcovP8G784QUZp4JK9HBd3I0LhmEN/K+6DSnZ9K4An777hu69xhqJryIZrn2MOfYrsJyEbzfUdUk1voOu94tauGD/Qf4RYADWXF8vjJnROgAAAABJRU5ErkJggg=='
),
'error.png' => array(
'type' => 'image/png',
'data' => 'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAMISURBVHjaZJPdaxxVGIefPfOx2dmkGJpsTEuzm9xFvYgKsXgjVPzACooKXviFXhRSvPDG/gdFEHrZoHhVkHghgsGKovRCEfohYj+MUlLTTdM2ye4m2Z3Z3ZmTmZ3xndm0FDzMcIY55/e8v/e878npD+iPnDyGzCZG1GFOu7y863EoiTBVwp1CzKIRMB81CJM6hO092YOAOOL1WpXTayuM+Z7CcfajDIOut0OCZsyhdtDmI6PBV/cA5p6csMPHS3/yiVcfNCqPzBCXJ9gyZTmnGO50GKnVWL5ypXRrq/nl44opG05mcf13JHLIi5cv813kjpmzr7zGdrnMPzdXePazzzP4uePHmT5wgNHNTf5YXOTuxlpvNuRVBWdVouH2Lea364Pm4SPPMTAywvbODmaS3DNHMpDHl9kSyOzRo+SLDxlLcDqUfypyefd6lcnpqWns1HIQMJofQPvBfUCkDIpZniHKsnlyZoYqTLRgznRrHAvkQMpTU5JLDJKvnc5BHxDLdy/wsf0B6EVCCylVKgxZivUwfl91XCpDZgFzcFBORErR7UKzSVTfzAC+75Nrt2nXaxk8DaJsm9F9+3Alr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ZerF01ZTlSIgAAegdDa82nkPvRgG7i1uXBSST8SX61eE+I9XrdVSr1dlU5NP09QsizeSBzXVxZ6YBGypGYjosm0NQ3sHasiu88Cjylsw12VNAcwcayvtnq8Wmq0v9JqfhyzcFG29C2HyXwNOXEqzOLzJWDWez2zh3qpOTJOl2D0Dy16dy1Yg/atLcGmyjDh41srOFhcVlyGILXeMnLFOBbW7jyWKDi8esdTYBxzx/4tiR6nCkMiQILufibIsH27HP3w0oDeB0VqCaQePoVDdpVwx8+Aj76xYmHEAsFhshFUf/Y/nY6uqUzd3nH9x+1/m3AAMA+N7sajU3ZucAAAAASUVORK5CYII='
)
);
// output embedded file
if(isset($_REQUEST['file']) && isset($embeddedFiles[$_REQUEST['file']]))
{
$data = base64_decode($embeddedFiles[$_REQUEST['file']]['data']);
header('Content-Type: ' . $embeddedFiles[$_REQUEST['file']]['type']);
header('Content-Length: ' . strlen($data));
echo($data);
exit();
}
// status variables
$testOK = true;
$gdError = false;
$smimeError = false;
$phpBelow54 = false;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>b1gMail Server-Test</title>
<link type="text/css" href="servertest.php?file=style.css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<center>
<br />
<img src="servertest.php?file=shade_top.png" border="0" alt="" />
<table cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td id="leftshade"></td>
<td id="main">
<div id="header">&nbsp;</div>
<div id="gradient"><i>Server-Test</i>&nbsp;&nbsp;</div>
<div id="content">
<h1>Server-Test</h1>
Ihr System wurde auf Kompatibilit&auml;t mit b1gMail &uuml;berpr&uuml;ft.
Im Folgenden finden Sie das Ergebnis der &Uuml;berpr&uuml;fung.
<br /><br />
<table class="list">
<tr>
<td width="180">&nbsp;</td>
<th>Ben&ouml;tigt</th>
<th>Verf&uuml;gbar</th>
<th width="60">&nbsp;</th>
</tr>
<tr>
<th>PHP-Version</th>
<td>5.4,7.4 empfohlen</td>
<td><?php echo(phpversion()); ?></td>
<td><img src="servertest.php?file=<?php if(PHPNumVersion() >= 540) { echo 'ok'; } else { echo 'error'; $testOK = false; } ?>.png" border="0" alt="" width="16" height="16" /></td>
</tr>
<tr>
<th>MySQL-Unterst&uuml;tzung</th>
<td>Ja</td>
<td><?php echo(function_exists('mysqli_connect') ? 'Ja' : 'Nein'); ?></td>
<td><img src="servertest.php?file=<?php if(function_exists('mysql_connect') || function_exists('mysqli_connect')) echo 'ok'; else { echo 'error'; $testOK = false; } ?>.png" border="0" alt="" width="16" height="16" /></td>
</tr>
<tr>
<th>GD-Bibliothek</th>
<td>Ja / Nein</td>
<td><?php echo(function_exists('imagecreate') ? 'Ja' : 'Nein'); ?></td>
<td><img src="servertest.php?file=<?php if(function_exists('imagecreate')) echo 'ok'; else { echo 'warning'; $gdError = true; } ?>.png" border="0" alt="" width="16" height="16" /></td>
</tr>
<tr>
<th>OpenSSL-Bibliothek</th>
<td>Ja / Nein</td>
<td><?php echo(function_exists('openssl_pkcs7_verify') ? 'Ja' : 'Nein'); ?></td>
<td><img src="servertest.php?file=<?php if(function_exists('openssl_pkcs7_verify')) echo 'ok'; else { echo 'warning'; $smimeError = true; } ?>.png" border="0" alt="" width="16" height="16" /></td>
</tr>
<tr>
<th>Server-Interface</th>
<td>Modul / CGI</td>
<td><?php echo(function_exists('apache_get_version') ? 'Modul' : 'CGI'); ?></td>
<td><img src="servertest.php?file=ok.png" border="0" alt="" width="16" height="16" /></td>
</tr>
</table>
<br />
<h1>Ergebnis</h1>
<ul>
<li>b1gMail ist auf diesem Server<br />
<strong><img src="servertest.php?file=<?php echo($testOK ? 'ok' : 'error'); ?>.png" border="0" alt="" width="16" height="16" align="absmiddle" />
<?php echo($testOK
? ($gdError ? 'mit Ausnahme der grafischen Statistiken und Sicherheits-Code-Grafiken'
: 'voll')
. ' funktionsf&auml;hig'
: 'nicht oder nur eingeschr&auml;nkt funktionsf&auml;hig'); ?></strong>
<br /><br /></li>
<?php if($testOK) { ?><li>Die optionalen Funktionen
<a title="Schnittstellen zum Zugriff auf die virtuelle Festplatte (Webdisk) aus dem Explorer bzw. Finder sowie Synchronisierung von Adressbuch und Kalender" class="glossary">WebDAV/CalDAV/CardDAV</a><br />
<strong><img src="servertest.php?file=<?php echo(function_exists('apache_get_version') && !$phpBelow54 ? 'ok' : 'warning'); ?>.png" border="0" alt="" width="16" height="16" align="absmiddle" />
<?php echo(function_exists('apache_get_version') && !$phpBelow54
? 'stehen zur Verf&uuml;gung'
: 'stehen nicht zur Verf&uuml;gung'); ?></strong>
<br /><br /></li>
<li>Die optionalen <a title="Zur Verschl&uuml;sselung/Entschl&uuml;sselung/Signierung von E-Mails" class="glossary">S/MIME</a>-Funktionen<br />
<strong><img src="servertest.php?file=<?php echo(!$smimeError ? 'ok' : 'warning'); ?>.png" border="0" alt="" width="16" height="16" align="absmiddle" />
stehen <?php echo(!$smimeError
? 'zur Verf&uuml;gung'
: 'nicht zur Verf&uuml;gung (ben&ouml;tigen PHP ab Version 5.2.0 mit OpenSSL-Erweiterung)'); ?></strong>
<br /></li><?php } ?>
</ul>
<small>
<b>Hinweis:</b> Dieses Server-Test-Script kann nicht &uuml;berpr&uuml;fen, ob Sie &uuml;ber
gen&uuml;gend freien Webspace, ein POP3-CatchAll-Postfach und eine MySQL-Datenbank
verf&uuml;gen. Dies k&ouml;nnen Sie bei Ihrem Provider in Erfahrung bringen.
Beachten Sie bitte die offiziellen
<a href="https://www.b1gmail.com/de/faq/#faq-10" target="_blank">System-Anforderungen</a>.
</small>
</div>
</td>
<td id="rightshade"></td>
</tr>
</table>
<img src="servertest.php?file=shade_bottom.png" border="0" alt="" />
</center>
</body>
</html>