¡@

Home 

php Programming Glossary: rootpath

PHP get path to every file in folder/subfolder into array? [duplicate]

http://stackoverflow.com/questions/12233859/php-get-path-to-every-file-in-folder-subfolder-into-array

with a simple iteration for example via foreach rootpath '.' fileinfos new RecursiveIteratorIterator new RecursiveDirectoryIterator.. RecursiveIteratorIterator new RecursiveDirectoryIterator rootpath foreach fileinfos as pathname fileinfo if fileinfo isFile continue.. you want to traverse. I've been taking the current one rootpath '.' The next line of code is a little bit long it does instantiate..