Is there a function to create a directory in php, and also can you chmod it via code ?
Never mind found it in the manual
<?php mkdir("/path/to/my/dir", 0700); ?>