chmod() not working correctly
Posted: Tue Jun 27, 2006 8:42 pm
Code: Select all
//User directory
if (!is_dir("users/".$user)) { //Checks to see if the directory exists
mkdir("users/".$user, 0777);
}A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
//User directory
if (!is_dir("users/".$user)) { //Checks to see if the directory exists
mkdir("users/".$user, 0777);
}Code: Select all
//User directory
if (!is_dir("users/".$user)) { //Checks to see if the directory exists
umask(0777);
mkdir("users/".$user, 0777);
}