Page 1 of 1

glob an linux

Posted: Mon Jul 19, 2004 8:34 am
by pelegk2
how do i using glob
get the folder list in a directory that is underthe directory i work cyurrent iin the path \images\section\ few folders here

thnaks in advance
peleg

Posted: Mon Jul 19, 2004 9:31 am
by feyd

Code: Select all

$dirs = glob('/path/*', GLOB_ONLYDIR);
:roll:

Posted: Mon Jul 19, 2004 9:40 am
by feyd