' . "\n" . ' ' . $strServerVars . "\n" . '' . "\n"; /** * Checks if the user is allowed to do what he tries to... */ if (!$is_superuser && !$cfg['ShowMysqlVars']) { echo $strNoPrivileges; require_once('./footer.inc.php'); } /** * Sends the queries and buffers the results */ if (PMA_MYSQL_INT_VERSION >= 40003) { $res = @PMA_mysql_query('SHOW SESSION VARIABLES;', $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), 'SHOW SESSION VARIABLES;'); while ($row = PMA_mysql_fetch_row($res)) { $serverVars[$row[0]] = $row[1]; } @mysql_free_result($res); $res = @PMA_mysql_query('SHOW GLOBAL VARIABLES;', $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), 'SHOW GLOBAL VARIABLES;'); while ($row = PMA_mysql_fetch_row($res)) { $serverVarsGlobal[$row[0]] = $row[1]; } @mysql_free_result($res); } else { $res = @PMA_mysql_query('SHOW VARIABLES;', $userlink) or PMA_mysqlDie(PMA_mysql_error($userlink), 'SHOW VARIABLES;'); while ($row = PMA_mysql_fetch_row($res)) { $serverVars[$row[0]] = $row[1]; } @mysql_free_result($res); } unset($res); unset($row); /** * Displays the page */ ?>
'; if (PMA_MYSQL_INT_VERSION >= 40003) { echo $strSessionValue . ' ' . "\n" . ' | ' . $strGlobalValue; } else { echo $strValue; } echo ' | ' . "\n"; ?>|
---|---|---|
= 40003) { ?> |