Example #1
0
        }
    }
    $phpinfo = array();
    foreach ($phpinfotemp as $name => $section) {
        if ($name == "PHP Core") {
            $name = "Core";
        }
        //name change between 5.2 and 5.3
        foreach ($section as $key => $val) {
            preg_match_all('|<td.*>(.*)</td>|U', $val[1], $output);
            if (count($output[0]) > 1) {
                $phpinfo[$name][trim(strip_tags($output[0][0]))] = trim(strip_tags($output[0][1]));
            }
        }
    }
    ob_end_flush();
    return $phpinfo;
}
function _ws_version()
{
    if (file_exists("core/protected/config/wsver.php")) {
        include_once "core/protected/config/wsver.php";
        return XLSWS_VERSION;
    } else {
        return 3;
    }
}
displayHeader();
$checkenv = xls_check_server_environment();
displaySystemCheckResult($checkenv);
Example #2
0
        }
        //name change between 5.2 and 5.3
        foreach ($section as $key => $val) {
            preg_match_all('|<td.*>(.*)</td>|U', $val[1], $output);
            if (count($output[0]) > 1) {
                $phpinfo[$name][trim(strip_tags($output[0][0]))] = trim(strip_tags($output[0][1]));
            }
        }
    }
    ob_end_flush();
    return $phpinfo;
}
function _ws_version()
{
    if (file_exists("core/protected/config/wsver.php")) {
        include_once "core/protected/config/wsver.php";
        return XLSWS_VERSION;
    } else {
        return 3;
    }
}
displayHeader();
$checkenv = xls_check_server_environment();
$checkfilesig = xls_check_file_signatures();
$checkcustom = xls_check_custom_files();
$checkcustomview = xls_check_custom_view_files();
displaySystemCheckResult($checkenv, 'checklist');
displaySystemCheckResult($checkfilesig, 'checklist-filesig');
displaySystemCheckResult($checkcustom, 'check-custom');
displaySystemCheckResult($checkcustomview, 'checklist-custom-view');