Problem Statement
What functions are used to handle directories in PHP?
Explanation
PHP provides mkdir to create a directory, rmdir to remove one, and opendir, readdir, closedir to loop through files inside a folder. scandir can also list all files quickly.
Code Solution
SolutionRead Only
mkdir('uploads');