Answers for "in check if directory not exest create directort php"

PHP
0

linux php script create directory if doesn't exist

$path = "sample/path/newfolder";
if (!file_exists($path)) {
    mkdir($path, 0777, true);
}
Posted by: Guest on May-27-2021

Code answers related to "in check if directory not exest create directort php"

Browse Popular Code Answers by Language