Question : linux php script create directory if doesn't exist
Answered by : busy-bee-jgk2j7nk4qw3
$path = "sample/path/newfolder";
if (!file_exists($path)) { mkdir($path, 0777, true);
}
Source : | Last Update : Thu, 03 Jun 21
Answered by : busy-bee-jgk2j7nk4qw3
$path = "sample/path/newfolder";
if (!file_exists($path)) { mkdir($path, 0777, true);
}
Source : | Last Update : Thu, 03 Jun 21