i want to create a data browser where i can navigate through data based on a apache and Mysql server. How can i list data form a selected folder? is this possible in PHP?
Thank you!
i want to create a data browser where i can navigate through data based on a apache and Mysql server. How can i list data form a selected folder? is this possible in PHP?
Thank you!
Listing folder contents can be done in numerous ways using PHP, from a very simple glob() cmd to a complicated(?) recursiveIterator.
Example of glob.
----------------
$dir=realpath( $_SERVER['DOCUMENT_ROOT'] . '/path/to/folder' );
$col=glob( $dir . '/*.*' );
print_r( $col );