phploc for directories