I\'ve got the following piece of code on a PHP 5.2.4 (no safe_mode) linux server:
mkdir( $path, 0777, true );
when I enter a path like:
What is your PHP version? Is safe_mode turned on?
If so, then it could be that you are experiencing http://bugs.php.net/bug.php?id=43276