Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check directory exists in php

<?php
$directory = "./videos/category/";
if (!file_exists($directory)) {
  mkdir($directory, 0777, true);
}
?>
 
PREVIOUS NEXT
Tagged: #check #directory #exists #php
ADD COMMENT
Topic
Name
7+5 =