Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
dba /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
CONFLICTS
57
B
-rw-rw-r--
2022-10-31 11:36
bug36436.phpt
587
B
-rw-rw-r--
2022-10-31 11:36
bug38698.phpt
797
B
-rw-rw-r--
2022-10-31 11:36
bug48240.phpt
395
B
-rw-rw-r--
2022-10-31 11:36
bug49125.phpt
428
B
-rw-rw-r--
2022-10-31 11:36
bug62490.phpt
745
B
-rw-rw-r--
2022-10-31 11:36
bug65708.phpt
538
B
-rw-rw-r--
2022-10-31 11:36
bug70825.phpt
1.81
KB
-rw-rw-r--
2022-10-31 11:36
bug71514.phpt
639
B
-rw-rw-r--
2022-10-31 11:36
bug72157.phpt
640
B
-rw-rw-r--
2022-10-31 11:36
bug72885.phpt
494
B
-rw-rw-r--
2022-10-31 11:36
bug78808.phpt
517
B
-rw-rw-r--
2022-10-31 11:36
clean.inc
165
B
-rw-rw-r--
2022-10-31 11:36
dba001.phpt
499
B
-rw-rw-r--
2022-10-31 11:36
dba002.phpt
548
B
-rw-rw-r--
2022-10-31 11:36
dba003.phpt
639
B
-rw-rw-r--
2022-10-31 11:36
dba004.phpt
847
B
-rw-rw-r--
2022-10-31 11:36
dba005.phpt
929
B
-rw-rw-r--
2022-10-31 11:36
dba006.phpt
985
B
-rw-rw-r--
2022-10-31 11:36
dba007.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
dba009.phpt
717
B
-rw-rw-r--
2022-10-31 11:36
dba010.phpt
1.2
KB
-rw-rw-r--
2022-10-31 11:36
dba011.phpt
977
B
-rw-rw-r--
2022-10-31 11:36
dba012.phpt
789
B
-rw-rw-r--
2022-10-31 11:36
dba013.phpt
694
B
-rw-rw-r--
2022-10-31 11:36
dba014.phpt
730
B
-rw-rw-r--
2022-10-31 11:36
dba015.phpt
1.71
KB
-rw-rw-r--
2022-10-31 11:36
dba016.phpt
537
B
-rw-rw-r--
2022-10-31 11:36
dba_cdb.phpt
956
B
-rw-rw-r--
2022-10-31 11:36
dba_cdb_001.phpt
1.96
KB
-rw-rw-r--
2022-10-31 11:36
dba_cdb_make.phpt
1.13
KB
-rw-rw-r--
2022-10-31 11:36
dba_cdb_read.phpt
1.38
KB
-rw-rw-r--
2022-10-31 11:36
dba_db1.phpt
990
B
-rw-rw-r--
2022-10-31 11:36
dba_db2.phpt
990
B
-rw-rw-r--
2022-10-31 11:36
dba_db3.phpt
990
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_000.phpt
1.01
KB
-rw-rw-r--
2022-10-31 11:36
dba_db4_001.phpt
690
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_002.phpt
690
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_003.phpt
979
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_004.phpt
867
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_005.phpt
692
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_006.phpt
692
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_007.phpt
892
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_008.phpt
869
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_009.phpt
1.14
KB
-rw-rw-r--
2022-10-31 11:36
dba_db4_011.phpt
814
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_012.phpt
700
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_013.phpt
939
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_014.phpt
701
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_015.phpt
834
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_016.phpt
1.45
KB
-rw-rw-r--
2022-10-31 11:36
dba_db4_017.phpt
784
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_018.phpt
1.79
KB
-rw-rw-r--
2022-10-31 11:36
dba_db4_handlers.phpt
756
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_optimize.phpt
776
B
-rw-rw-r--
2022-10-31 11:36
dba_db4_sync.phpt
768
B
-rw-rw-r--
2022-10-31 11:36
dba_dbm.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
dba_flatfile.phpt
1.04
KB
-rw-rw-r--
2022-10-31 11:36
dba_gdbm.phpt
750
B
-rw-rw-r--
2022-10-31 11:36
dba_handler.inc
2.77
KB
-rw-rw-r--
2022-10-31 11:36
dba_handlers.phpt
1.08
KB
-rw-rw-r--
2022-10-31 11:36
dba_inifile.phpt
1.02
KB
-rw-rw-r--
2022-10-31 11:36
dba_lmdb.phpt
723
B
-rw-rw-r--
2022-10-31 11:36
dba_ndbm.phpt
994
B
-rw-rw-r--
2022-10-31 11:36
dba_optimize.phpt
1.12
KB
-rw-rw-r--
2022-10-31 11:36
dba_qdbm.phpt
719
B
-rw-rw-r--
2022-10-31 11:36
dba_split.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
dba_sync.phpt
1.09
KB
-rw-rw-r--
2022-10-31 11:36
dba_tcadb.phpt
1.19
KB
-rw-rw-r--
2022-10-31 11:36
skipif.inc
772
B
-rw-rw-r--
2022-10-31 11:36
test.cdb
2.18
KB
-rw-rw-r--
2022-10-31 11:36
test.inc
191
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
<?php echo "database handler: $handler\n"; do { if (($db_file = dba_open($db_filename, 'n'.$lock_flag, $handler))!==FALSE) { dba_insert("key1", "Content String 1", $db_file); dba_insert("key2", "Content String 2", $db_file); dba_insert("key3", "Third Content String", $db_file); dba_insert("key4", "Another Content String", $db_file); dba_insert("key5", "The last content string", $db_file); if ($handler != 'cdb') { dba_delete("key3", $db_file); dba_delete("key1", $db_file); } else { dba_close($db_file); if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))===FALSE) { echo "Error reopening database\n"; } } $a = dba_firstkey($db_file); $i=0; while($a) { $a = dba_nextkey($db_file); $i++; } echo $i; for ($i=1; $i<6; $i++) { echo dba_exists("key$i", $db_file) ? "Y" : "N"; } echo "\n"; echo dba_fetch("key2", $db_file)."\n"; if ($handler != 'cdb') { dba_replace("key2", "Content 2 replaced", $db_file); echo dba_fetch("key2", $db_file)."\n"; } dba_close($db_file); } else { echo "Error creating database\n"; } if ($handler != 'cdb') { $db_writer = dba_open($db_filename, 'c'.$lock_flag, $handler); if (($dba_reader = @dba_open($db_filename, 'r'.$lock_flag.'t', $handler))===false) { echo "Read during write: not allowed\n"; } else { echo "Read during write: allowed\n"; } if ($db_writer!==FALSE) { if (dba_insert("key number 6", "The 6th value", $db_writer)) { echo '"key number 6" written' . "\n"; } else { echo 'Failed to write "key number 6"' . "\n"; } if (dba_insert("key number 6", "The 6th value inserted again would be an error", $db_writer)) { echo '"key number 6" written 2nd time' . "\n"; } else { echo 'Failed to write "key number 6" 2nd time' . "\n"; } dba_replace("key2", "Content 2 replaced 2nd time", $db_writer); dba_delete("key4", $db_writer); echo dba_fetch("key2", $db_writer)."\n"; echo dba_fetch("key number 6", $db_writer)."\n"; dba_close($db_writer); // when the writer is open at least db3 would fail because of buffered io. } else { die("Error reopening database\n"); } } if (($db_file = dba_open($db_filename, 'r'.$lock_flag, $handler))!==FALSE) { $key = dba_firstkey($db_file); $res = array(); while($key) { $res[$key] = dba_fetch($key, $db_file); $key = dba_nextkey($db_file); } ksort($res); var_dump($res); dba_close($db_file); } else { echo "Error reading database\n"; } if (!empty($dba_reader)) { dba_close($dba_reader); } if (($db_file = dba_popen($db_filename, 'r'.($lock_flag==''?'':'-'), $handler))!==FALSE) { if ($handler == 'dbm' || $handler == "tcadb") { dba_close($db_file); } } if ($lock_flag == '') { break; } else { echo "--NO-LOCK--\n"; $lock_flag = ''; } } while(1); ?>