Possible Duplicate:
PHP code mkdir('images','0777') creates a folder with 411 permissions! Why?
I am trying to create a folder on my server using php i have been trying this and it is not working it set it to 411 does anyone know why this is happening?
mkdir($create_path, "0777");
i have also tryed chmod but i am getting a safe mode error.
chmod($create_path, '0777');