'._("Operating System:").' '.php_uname('s'); } $PG_mainbody .= '
'._("PHP Version:").' '.phpversion().'
display_errors = ' . ini_get('display_errors').'';
//IF GETTEXT EXTENSION INSTALLED IN THE SERVER OR NOT
//note that $gettextInstalled is created in language.php
if ($gettextInstalled == 0) $PG_mainbody .= '
'._("GETTEXT extension: not installed (php-gettext will be used)");
else $PG_mainbody .= '
'._("GETTEXT extension: installed");
if (ini_get('register_globals')!= NULL) { //if value not null
$PG_mainbody .= '
register_globals = ' . ini_get('register_globals').'';
} else {
$PG_mainbody .= '
register_globals = OFF '._("(this is good)");
}
$PG_mainbody .= '
upload_max_filesize (php.ini) = ' . ini_get('upload_max_filesize') . '
post_max_size (php.ini) = ' . ini_get('post_max_size') . '
';
if (ini_get('memory_limit')!= NULL) { //if value not null
$PG_mainbody .= 'memory_limit (php.ini) = ' . ini_get('memory_limit') . '
';
}
$PG_mainbody .= '
'._("Max upload size set in the script (config.php):").' '.$max_upload_form_size_MB.'M
'._("Your server configuration allows you to upload files up to").' '.$showmin._("MB").'
'; } $PG_mainbody .= ''; } ?>