I want to create a directory if it does\'nt exist already.
Is using is_dir enough for that purpose?
is_dir
if ( !is_dir( $dir ) ) { mkdir(
This is how I do
if(is_dir("./folder/test")) { echo "Exist"; }else{ echo "Not exist"; }