Dear Russ,
Thank a lot. Your tips do help me. This is the answers I get through my research: $oldumask = umask(0); if(mkdir("path", 0777)) {echo "New directory created!!";} else {echo "Couldn't create directory";} umask($oldumask); Thank a lot. regards, Wenni > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]