Answers for "php check is directory syntax"

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

Browse Popular Code Answers by Language