Is there any function to check if a directory or folder exist in PHP?

ngoctritle

New Member
I want to check if there is a directory exist or not before uploading a file.If the directory does not exist return FALSE.Does is_dir do the work?
 
Back
Top