Description: Lists all the items in a directory including folders and files.
Comment: (none)
Language: PHP Highlight Mode: PHP Last Modified: February 27th, 2009
<?PHP// No slash at the end$main_dir='path/to/dir';$dirs=GLOB("{$main_dir}/*", GLOB_ONLYDIR);$dirs=ARRAY_MAP('basename',$dirs);$dirs=ARRAY_FILTER($dirs,'no_underscore');FUNCTION no_underscore($dirname){RETURN$dirname[0]!='_';}ECHO'<pre>',PRINT_R($dirs,TRUE),'</pre>';?>
SQL University.net courses meet the most demanding needs of the business world for advanced education
in a cost-effective manner. SQL University.net courses are available immediately for IT professionals
and can be taken without disruption of your workplace schedule or processes.
Compared to traditional travel-based training, SQL University.net saves time and valuable corporate
resources, allowing companies to do more with less. That's our mission, and that's what we deliver.