if you want to create a directory you can use the
mkdir() function available in php
Description
bool mkdir ( string $pathname [, int $mode [, bool $recursive [, resource $context ]]] )
Attempts to create the directory specified by pathname.
PHP EXAMPLE
<?php
mkdir("/path/to/my/dir", 0700);
?>
for more information visit:
http://www.php.net/function.mkdir