I want to point to a folder and then the php script should take the list of sub directories from that folder and save it into the database
Can anyone provide a php script which would do the same thanks in advance
$path = "new/cat1/";
want to get the list of sub-directories inside the $path folder and save those sub-directory names to database. No need to take the filename of filelist