!C99Shell v. 1.0 pre-release build #13!

Software: Apache/2.0.54 (Unix) mod_perl/1.99_09 Perl/v5.8.0 mod_ssl/2.0.54 OpenSSL/0.9.7l DAV/2 FrontPage/5.0.2.2635 PHP/4.4.0 mod_gzip/2.0.26.1a 

uname -a: Linux snow.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686 

uid=99(nobody) gid=98(nobody) groups=98(nobody) 

Safe-mode: OFF (not secure)

/home/makras/public_html/db_admin/libraries/   drwxr-xr-x
Free 318.36 GB of 458.09 GB (69.5%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     get_foreign.lib.php (1.88 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* $Id: get_foreign.lib.php,v 2.2 2003/11/26 22:52:23 rabus Exp $ */
// vim: expandtab sw=4 ts=4 sts=4:


/**
 * Gets foreign keys in preparation for a drop-down selector
 * Thanks to <markus@noga.de>
 */


// lem9: we always show the foreign field in the drop-down; if a display
// field is defined, we show it besides the foreign field
$foreign_link false;
if (
$foreigners && isset($foreigners[$field])) {
    
$foreigner       $foreigners[$field];
    
$foreign_db      $foreigner['foreign_db'];
    
$foreign_table   $foreigner['foreign_table'];
    
$foreign_field   $foreigner['foreign_field'];

    
// Count number of rows in the foreign table. Currently we do
    // not use a drop-down if more than 200 rows in the foreign table,
    // for speed reasons and because we need a better interface for this.
    //
    // We could also do the SELECT anyway, with a LIMIT, and ensure that
    // the current value of the field is one of the choices.

    
$the_total   PMA_countRecords($foreign_db$foreign_tableTRUE);

    if ((isset(
$override_total) && $override_total == true) || $the_total 200) {
        
// foreign_display can be FALSE if no display field defined:

        
$foreign_display PMA_getDisplayField($foreign_db$foreign_table);
        
$dispsql         'SELECT ' PMA_backquote($foreign_field)
                         . ((
$foreign_display == FALSE) ? '' ', ' PMA_backquote($foreign_display))
                         . 
' FROM ' PMA_backquote($foreign_db) . '.' PMA_backquote($foreign_table)
                         . ((
$foreign_display == FALSE) ? '' :' ORDER BY ' PMA_backquote($foreign_table) . '.' PMA_backquote($foreign_display))
                         . (isset(
$foreign_limit) ? $foreign_limit '');
        
$disp            PMA_mysql_query($dispsql);
    }
    else {
        unset(
$disp);
        
$foreign_link true;
    }
// end if $foreigners

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0315 ]--