I am tring to make a directory and give it full privleges... this is what I have
function mkdir($dirName) //mkdir
{
@mkdir($dirName,0777);
@chmod($dirName,0777);
}
This creates the folder.... but when I try to upload a file to the new folder it does not allow it... Also when I ftp to check the folder I right click it and try to change permissions on it and it does not allow me to... If I delete the folder in the ftp window and recreat it there... I can upload to it and change permission as needed...
Why does it not work when I creat the folder via the function...??
Any help...
Thanks
DE2