Answers for "check directory php"

PHP
6

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 "check directory php"

Browse Popular Code Answers by Language