title: PHP opendir() to list folders only
body: <p>I would like to use opendir() to list only the folders in a particular folder (i.e. /www/site/).  I would like to exclude files from the list as well at the '.' and '..' folders that appear on a linux folder listing.  How would I go about doing this?</p>