I know that glob can look for all files or only all directories inside a folder :
echo \"All files:\\n\"; $all = glob(\"/*\"); var_dump($all); echo \"Only d
$all = glob("/*.*");
this will list everything with a "." after the file name. so basically, all files.