Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
Cache_Lite /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
bench2.php
394
B
-rw-r--r--
bench3.php
1.54
KB
-rw-r--r--
bench.php
411
B
-rw-r--r--
Cache_Lite_automaticCleaning.phpt
1.45
KB
-rw-r--r--
cache_lite_base.inc
41
B
-rw-r--r--
Cache_Lite_classical.phpt
1.17
KB
-rw-r--r--
Cache_Lite_error2.phpt
2.09
KB
-rw-r--r--
Cache_Lite_error.phpt
1.38
KB
-rw-r--r--
Cache_Lite_eternal.phpt
1.17
KB
-rw-r--r--
Cache_Lite_fatest.phpt
1.31
KB
-rw-r--r--
cache_lite_file_base.inc
46
B
-rw-r--r--
Cache_Lite_File_classical.phpt
2.08
KB
-rw-r--r--
cache_lite_function_base.inc
50
B
-rw-r--r--
Cache_Lite_Function_classical.phpt
3.3
KB
-rw-r--r--
Cache_Lite_Function_dontcache.phpt
3.36
KB
-rw-r--r--
Cache_Lite_Function_drop.phpt
866
B
-rw-r--r--
Cache_Lite_hashed.phpt
2.54
KB
-rw-r--r--
Cache_Lite_lifetime.phpt
979
B
-rw-r--r--
Cache_Lite_memorycache.phpt
1.21
KB
-rw-r--r--
cache_lite_output_base.inc
47
B
-rw-r--r--
Cache_Lite_Output_classical.phpt
1.2
KB
-rw-r--r--
Cache_Lite_serialization.phpt
1.14
KB
-rw-r--r--
callcache.inc
4.01
KB
-rw-r--r--
errordie.php
523
B
-rw-r--r--
ErrorDieTest.php
956
B
-rw-r--r--
NestedOutputTest.php
1.6
KB
-rw-r--r--
pearbug13693.phpt
599
B
-rw-r--r--
pearbug18192.php
466
B
-rw-r--r--
pearbug18328.phpt
575
B
-rw-r--r--
pearbug19422.phpt
2.58
KB
-rw-r--r--
pearbug513.phpt
1.19
KB
-rw-r--r--
pearbug7618.phpt
643
B
-rw-r--r--
readme
545
B
-rw-r--r--
tmpdir.inc
908
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : callcache.inc
<?php function callCache($id, $type = 'string') { global $Cache_Lite; if ($data = $Cache_Lite->get($id)) { echo("Cache Hit !\n"); if ($type=='string') { echo($data); } if ($type=='array') { echo(serialize($data)); } } else { echo("Cache Missed !\n"); if ($type=='string') { $data = ''; for($i=0;$i<10;$i++) { $data .= '0123456789'; } echo($data); } if ($type=='array') { $data = array(array('foo', 'bar'), 1, 'foo', 'bar'); echo(serialize($data)); } $res = $Cache_Lite->save($data); if (is_object($res)) { $message = $res->getMessage(); $message = str_replace(tmpDir(), '<cachedir>/', $message); // Remove system specific cache dir echo "\nPEAR_ERROR : " . $message . " (#" . $res->getCode() . ")\n"; } else { if (!($res)) { echo "\nError when saving cache !\n"; } } } } function multipleCallCache($type = 'string') { global $Cache_Lite; echo "==> First call (cache should be missed)\n"; callCache('31415926', $type); echo "\nDone !\n\n"; echo "==> Second call (cache should be hit)\n"; callCache('31415926', $type); echo "\nDone !\n\n"; echo "==> Third call (cache should be hit)\n"; callCache('31415926', $type); echo "\nDone !\n\n"; echo "==> We remove cache\n"; $Cache_Lite->remove('31415926'); echo "Done !\n\n"; echo "==> Fourth call (cache should be missed)\n"; callCache('31415926', $type); echo "\nDone !\n\n"; echo "==> #5 Call with another id (cache should be missed)\n"; callCache('3141592653', $type); echo "\nDone !\n\n"; echo "==> We remove cache\n"; $Cache_Lite->remove('31415926'); $Cache_Lite->remove('3141592653'); echo "Done !\n"; } function callCache2($id, $type = 'string') { global $Cache_Lite_Output; if (!($Cache_Lite_Output->start($id))) { if ($type=='string') { $data = ''; for($i=0;$i<10;$i++) { $data .= '0123456789'; } echo($data); } if ($type=='array') { $data = array(array('foo', 'bar'), 1, 'foo', 'bar'); echo(serialize($data)); } $Cache_Lite_Output->end(); echo("Cache Missed !\n"); } else { echo("Cache Hit !\n"); } } function multipleCallCache2($type = 'string') { global $Cache_Lite_Output; echo "==> First call (cache should be missed)\n"; callCache2('31415926', $type); echo "\nDone !\n\n"; echo "==> Second call (cache should be hit)\n"; callCache2('31415926', $type); echo "\nDone !\n\n"; echo "==> Third call (cache should be hit)\n"; callCache2('31415926', $type); echo "\nDone !\n\n"; echo "==> We remove cache\n"; $Cache_Lite_Output->remove('31415926'); echo "Done !\n\n"; echo "==> Fourth call (cache should be missed)\n"; callCache2('31415926', $type); echo "\nDone !\n\n"; echo "==> #5 Call with another id (cache should be missed)\n"; callCache2('3141592653', $type); echo "\nDone !\n\n"; echo "==> We remove cache\n"; $Cache_Lite_Output->remove('31415926'); $Cache_Lite_Output->remove('3141592653'); echo "Done !\n"; } function multipleCallCache3_1($type = 'string') { global $Cache_Lite; echo "==> #6 call (cache should be missed)\n"; callCache('31415926', $type); echo "\nDone !\n\n"; echo "==> #7 call (cache should be hit)\n"; callCache('31415926', $type); echo "\nDone !\n\n"; } function multipleCallCache3_2($type = 'string') { global $Cache_Lite; echo "==> #8 call (cache should be missed)\n"; callCache('31415926', $type); echo "\nDone !\n\n"; echo "==> We remove cache\n"; $Cache_Lite->remove('31415926'); echo "Done !\n"; } ?>
Close