Creating Directories with mkdir()
<? mkdir( "testdir", 0777 ); // global read/write/execute permissions mkdir( "testdir", 0755 ); // world and group: read/execute only // owner: read/write/execute ?>