i want to list out all files in a directory wallpaper/
. there are more than 1000 folders inside this directory which are mainly celebrity name like angelina joulie etc and inside that folder several images are there for that celebrity.
i want to list all files with total path
like http://xyz.com/wallpaper/angelina joulie/angeli1243.jpg
i tried scandir()
readdir()
glob()
but all lists only current directory.
please tell how to list all files full path including subdirectory of a given directory