tried this : Code: glob("images\PDF\.",GLOB_ONLYDIR);
and i get nothing although i have folder thee! why?
your code by itself will not output anything. glob() returns an array that can be looped through to see the contents:
foreach (glob('*.*', GLOB_ONLYDIR) as $dir) { echo $dir . '<br>'; }