Answers for "php check if is directory"

PHP
0

check directory exists in php

<?php
$directory = "./videos/category/";
if (!file_exists($directory)) {
  mkdir($directory, 0777, true);
}
?>
Posted by: Guest on January-19-2021

Code answers related to "php check if is directory"

Browse Popular Code Answers by Language