Level 60
if ( is_dir('directory name') ) { echo 'True'; } // if is directory
mkdir('/path/to/my/dir', 0777); // make directory with 777 permissions
hello artisan how can i check if a directorie exist ? if not how can i create a new one based on the uploaded file catégorie ? and thanx
Please or to participate in this conversation.