Answers for "check if directory in php"

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

Browse Popular Code Answers by Language