hmm... I'll be as helpfull as possible.
mhdir's sytax is:
int mkdir(string pathname, int mode);
However, mode is ignored on windows based systems... but you'll still need to put a mode there to satisfy the function.
Valid unix modes are:
0 - no permissions
1 - execute
2 - write
3 - write and execute
4 - read
5 - read and execute
6 - read and write
7 - read, write, and execute
But you'll probably want to write it in octal format... ie 0777 for a public page. (kind of a security risk however, as it is read, write and execute to everyone).
Well... I hope I helped...
here is the direct link to the manual:
http://www.php.net/manual/en/function.mkdir.php
chadT