php creates the of sample code for a folder named UNIX timestamp
- 2021-01-22 04:58:35
- OfStack
Examples are as follows:
<?php
//Get timenow
$addtime=date("Ymd",time());
//Creat Dir
$testdir="./".$addtime."/";
if(file_exists($testdir)):
else:
mkdir($testdir,0777);
endif;
?>