I am currently using the following php file upload script for a site: File Upload with Directory Selection
I need to be able to upload files to specific folders on the server. This script automatically populates a dropdown menu with the folders in the directory the script is running, however it doesn't include subdirectories of those folders. I'm not that great with PHP but I know at least how to do this manually with this script, but this means every time a new sub directory is created I have to go and update the script. Does anyone know how to get this script to include sub-directories automatically?