PHP mkdir May 12, 2012 It can be used to create directory Example <?php mkdir(“test/”) or die(“Failed”); ?>