Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 3.144.41.223
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
php53 /
usr /
share /
doc /
pear /
Base /
docs /
Delete
Unzip
Name
Size
Permission
Date
Action
repos
[ DIR ]
drwxr-xr-x
2024-03-03 22:55
CREDITS
229
B
-rw-r--r--
2019-12-18 11:15
LICENSE
1.53
KB
-rw-r--r--
2019-12-18 11:15
tutorial.txt
8.59
KB
-rw-r--r--
2019-12-18 11:15
tutorial_autoload.php
495
B
-rw-r--r--
2019-12-18 11:15
tutorial_example_01.php
215
B
-rw-r--r--
2019-12-18 11:15
tutorial_example_02.php
189
B
-rw-r--r--
2019-12-18 11:15
tutorial_example_03.php
107
B
-rw-r--r--
2019-12-18 11:15
tutorial_example_04.php
1.39
KB
-rw-r--r--
2019-12-18 11:15
tutorial_lazy_initialization.php
914
B
-rw-r--r--
2019-12-18 11:15
Save
Rename
<?php require 'tutorial_autoload.php'; class myProgressFinder { static public function findRecursiveCallback( ezcBaseFileFindContext $context, $sourceDir, $fileName, $fileInfo ) { // ignore if we have a directory, but do print a "." and sleep for // extra demo time if ( $fileInfo['mode'] & 0x4000 ) { echo "."; usleep( 100000 ); return; } // update the statistics $context->elements[] = $sourceDir . DIRECTORY_SEPARATOR . $fileName; $context->count++; $context->size += $fileInfo['size']; } static public function findRecursive( $sourceDir, array $includeFilters = array(), array $excludeFilters = array() ) { // create the context, and then start walking over the array $context = new ezcBaseFileFindContext; ezcBaseFile::walkRecursive( $sourceDir, $includeFilters, $excludeFilters, array( 'myProgressFinder', 'findRecursiveCallback' ), $context ); // collect the statistics (which we don't do anything with in this example) $statistics['size'] = $context->size; $statistics['count'] = $context->count; // return the found and pattern-matched files sort( $context->elements ); return $context->elements; } } $files = myProgressFinder::findRecursive( dirname( __FILE__ ) ); var_dump( $files ); ?>