PHP Get list of files from Directory (in Moodle)

Posted by danit on Stack Overflow See other posts from Stack Overflow or by danit
Published on 2010-02-25T21:10:32Z Indexed on 2010/04/02 14:23 UTC
Read the original article Hit count: 311

Filed under:
|

I want to open a directory and read all the files inside and put them into an array, so far I have:

$imagesdir = $CFG->dataroot.'/1/themeimages/';

Which gives me the path to the directory, whats the next step?

© Stack Overflow or respective owner

Related posts about php

Related posts about moodle