192 lines
24 KiB
PHP
192 lines
24 KiB
PHP
<?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' => 'PCEtLQoKQk9EWQp7CgliYWNrZ3JvdW5kLWNvbG9yOiAjNjY2NjY2OwoJbWFyZ2luOiAwcHg7Cn0KCiNoZWFkZXIKewoJd2lkdGg6IDY0N3B4OwoJaGVpZ2h0OiA5MXB4OwoJYmFja2dyb3VuZC1pbWFnZTogdXJsKHNlcnZlcnRlc3QucGhwP2ZpbGU9aGVhZC5wbmcpOwp9CgojZ3JhZGllbnQKewoJd2lkdGg6IDY0N3B4OwoJaGVpZ2h0OiAyOHB4OwoJYmFja2dyb3VuZC1pbWFnZTogdXJsKHNlcnZlcnRlc3QucGhwP2ZpbGU9Z3JhZGllbnQucG5nKTsKCWJhY2tncm91bmQtcG9zaXRpb246IHJpZ2h0OwoJYmFja2dyb3VuZC1yZXBlYXQ6IG5vLXJlcGVhdDsKCWNvbG9yOiAjRkZGRkZGOwoJZm9udC1zaXplOiAyMnB4OwoJZm9udC1mYW1pbHk6IGFyaWFsOwoJZm9udC13ZWlnaHQ6IGJvbGQ7Cgl0ZXh0LWFsaWduOiByaWdodDsKfQoKI2xlZnRzaGFkZQp7Cgl3aWR0aDogMjlweDsKCWJhY2tncm91bmQtaW1hZ2U6IHVybChzZXJ2ZXJ0ZXN0LnBocD9maWxlPXNoYWRlX2xlZnQucG5nKTsJCn0KCiNyaWdodHNoYWRlCnsKCXdpZHRoOiAyOXB4OwoJYmFja2d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H9t1a8du2AIC3St7wmdm5NRnLiGNE6SWJMosOJkAAwOXi/n4jLkz//y/c21kddJQkyngUI3lNAMDruh1uMits3tvZPdAoCnQnOiRnPyhIAMCLkv/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' => 'iVBORw0KGgoAAAANSUhEUgAAAkQAAAA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MpY37M3UQk1lsVEodiLOem118iTRbJPWxjMDcI7ZqGS39ewsDugVqyAiyJfdtaAHPfFDmvb3hHGNK+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+3AlrinViZCApADPSxUM93oMmXYW3XVdCr34vhgRk6aaiSQ7O+Baq+MTRlHfgeSJRBwX4dryMqurqxQ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U5NP09QsizeSBzXVxZ6YBGypGYjosm0NQ3sHasiu88Cjylsw12VNAcwcayvtnq8Wmq0v9JqfhyzcFG29C2HyXwNOXEqzOLzJWDWez2zh3qpOTJOl2D0Dy16dy1Yg/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"> </div>
|
|
<div id="gradient"><i>Server Test</i> </div>
|
|
|
|
<div id="content">
|
|
|
|
<h1>Server Test</h1>
|
|
|
|
Your system has been checked for compatibility with b1gMail.
|
|
You can find the test results below.
|
|
|
|
<br /><br />
|
|
<table class="list">
|
|
<tr>
|
|
<td width="180"> </td>
|
|
<th>Required</th>
|
|
<th>Available</th>
|
|
<th width="60"> </th>
|
|
</tr>
|
|
<tr>
|
|
<th>PHP version</th>
|
|
<td>5.4, 7.4 recommended</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>MySQLi support</th>
|
|
<td>Yes</td>
|
|
<td><?php echo(function_exists('mysqli_connect') ? 'Yes' : 'No'); ?></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 extension</th>
|
|
<td>Yes / No</td>
|
|
<td><?php echo(function_exists('imagecreate') ? 'Yes' : 'No'); ?></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 extension</th>
|
|
<td>Yes / No</td>
|
|
<td><?php echo(function_exists('openssl_pkcs7_verify') ? 'Yes' : 'No'); ?></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>Module / CGI</td>
|
|
<td><?php echo(function_exists('apache_get_version') ? 'Module' : 'CGI'); ?></td>
|
|
<td><img src="servertest.php?file=ok.png" border="0" alt="" width="16" height="16" /></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br />
|
|
|
|
<h1>Result</h1>
|
|
<ul>
|
|
<li>b1gMail will<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 ? 'work on your server, but will not be able to display some statistics and captcha graphics'
|
|
: 'work on your server without limitations')
|
|
: 'will not work on your server properly'); ?></strong>
|
|
<br /><br /></li>
|
|
<?php if($testOK) { ?><li>The optional features
|
|
<a title="Interfaces to use the Webdisk from within the Explorer or Finder and to synchronize calendar and address book" class="glossary">WebDAV/CalDAV/CardDAV</a> are<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
|
|
? 'available'
|
|
: 'not available'); ?></strong>
|
|
<br /><br /></li>
|
|
<li>The optional <a title="Email encryption/decryption and signing" class="glossary">S/MIME</a> features are<br />
|
|
<strong><img src="servertest.php?file=<?php echo(!$smimeError ? 'ok' : 'warning'); ?>.png" border="0" alt="" width="16" height="16" align="absmiddle" />
|
|
<?php echo(!$smimeError
|
|
? 'available'
|
|
: 'not available (require PHP version 5.2.0 or greater with OpenSSL extension)'); ?></strong>
|
|
<br /></li><?php } ?>
|
|
</ul>
|
|
|
|
<small>
|
|
<b>Notice:</b> This Server Test script cannot check if you have enough space available,
|
|
if your provider supports catchall POP3 accounts and if you have a MySQL
|
|
database with enough space available. If you are in doubt, please ask
|
|
your web hoster if your webspace supports the official
|
|
<a href="https://www.b1gmail.com/en/faq/#faq-10" target="_blank">system requirements</a>.
|
|
</small>
|
|
|
|
</div>
|
|
</td>
|
|
<td id="rightshade"></td>
|
|
</tr>
|
|
|
|
</table>
|
|
<img src="servertest.php?file=shade_bottom.png" border="0" alt="" />
|
|
|
|
</center>
|
|
</body>
|
|
</html>
|