Francais English
Class_dir example
/home.10.5/phplibra/www/exemples/dir/subfolder_txt

/exemple.txt
Create the
2005-11-30
Last update
2006-12-14
/var/wwwexemples/dir/

/home.10.5/phplibra/www/exemples/dir/index.css
Create the
2005-11-30
Last update
2006-12-14
/home.10.5/phplibra/www/exemples/dir/logo.gif
Create the
2005-11-30
Last update
2006-12-14
/home.10.5/phplibra/www/exemples/dir/logo.jpg
Create the
2005-11-30
Last update
2006-12-14
Selected extensions
Create the
Last update
With subfolders too
<?php
$dir
= new dir('.');
$files = $dir->LIST_files('');
foreach(
$files as $currentFile) {
    echo
"$currentFile<br />";
};
/**
will generate
/home.10.5/phplibra/www/exemples/dir/index.css
/home.10.5/phplibra/www/exemples/dir/logo.gif
/home.10.5/phplibra/www/exemples/dir/logo.jpg

*/
unset($files);
unset(
$dir);
?>