searching multiple folders
Moderator: General Moderators
searching multiple folders
Is it possible to search multiple folders with php? I have exceeded the file limit in one of my folders and want to divide the folder alphabetically into 26 new folders. Trouble is there is a search operation on files in the folder and I don't know how to program a search of multiple folders?
Re: searching multiple folders
Use a naming scheme. If you want to place "file.jpg" somewhere then put it in /path/f/file.jpg. So the directory name is the first character in the filename.